C# Class AVCam.CameraViewController

Inheritance: UIViewController, IAVCaptureFileOutputRecordingDelegate
Afficher le fichier Open project: xamarin/monotouch-samples Class Usage Examples

Private Properties

Свойство Type Description
AddObservers void
CapturePhoto void
ChangeCamera void
ConfigureSession void
DidStartRecording void
FocusAndExposeTap void
OnSessionRunningChanged void
RemoveObservers void
ResumeInterruptedSession void
SessionInterruptionEnded void
SessionRuntimeError void
SessionWasInterrupted void
SubjectAreaDidChange void
ToggleCaptureMode void
ToggleLivePhotoMode void
ToggleMovieRecording void
TryConvertToVideoOrientation bool
TryConvertToVideoOrientation bool
TryGetDefaultVideoCamera bool
UniqueDevicePositionsCount int
UpdateDeviceFocus void

Méthodes publiques

Méthode Description
CameraViewController ( IntPtr handle ) : System
FinishedRecording ( AVCaptureFileOutput captureOutput, NSUrl outputFileUrl, NSObject connections, NSError error ) : void
GetSupportedInterfaceOrientations ( ) : UIInterfaceOrientationMask
ShouldAutorotate ( ) : bool
ViewDidDisappear ( bool animated ) : void
ViewDidLoad ( ) : void
ViewWillAppear ( bool animated ) : void
ViewWillTransitionToSize ( CGSize toSize, IUIViewControllerTransitionCoordinator coordinator ) : void

Private Methods

Méthode Description
AddObservers ( ) : void
CapturePhoto ( UIButton photoButton ) : void
ChangeCamera ( UIButton cameraButton ) : void
ConfigureSession ( ) : void
DidStartRecording ( AVCaptureFileOutput captureOutput, NSUrl outputFileUrl, NSObject connections ) : void
FocusAndExposeTap ( UIGestureRecognizer gestureRecognizer ) : void
OnSessionRunningChanged ( NSObservedChange change ) : void
RemoveObservers ( ) : void
ResumeInterruptedSession ( CameraViewController sender ) : void
SessionInterruptionEnded ( NSNotification notification ) : void
SessionRuntimeError ( NSNotification notification ) : void
SessionWasInterrupted ( NSNotification notification ) : void
SubjectAreaDidChange ( NSNotification notification ) : void
ToggleCaptureMode ( UISegmentedControl captureModeControl ) : void
ToggleLivePhotoMode ( UIButton livePhotoModeButton ) : void
ToggleMovieRecording ( UIButton recordButton ) : void
TryConvertToVideoOrientation ( UIDeviceOrientation orientation, AVCaptureVideoOrientation &result ) : bool
TryConvertToVideoOrientation ( UIInterfaceOrientation orientation, AVCaptureVideoOrientation &result ) : bool
TryGetDefaultVideoCamera ( AVCaptureDeviceType type, AVCaptureDevicePosition position, AVCaptureDevice &device ) : bool
UniqueDevicePositionsCount ( AVCaptureDeviceDiscoverySession session ) : int
UpdateDeviceFocus ( AVCaptureFocusMode focusMode, AVCaptureExposureMode exposureMode, CGPoint point, bool monitorSubjectAreaChange ) : void

Method Details

CameraViewController() public méthode

public CameraViewController ( IntPtr handle ) : System
handle System.IntPtr
Résultat System

FinishedRecording() public méthode

public FinishedRecording ( AVCaptureFileOutput captureOutput, NSUrl outputFileUrl, NSObject connections, NSError error ) : void
captureOutput AVCaptureFileOutput
outputFileUrl NSUrl
connections NSObject
error NSError
Résultat void

GetSupportedInterfaceOrientations() public méthode

public GetSupportedInterfaceOrientations ( ) : UIInterfaceOrientationMask
Résultat UIInterfaceOrientationMask

ShouldAutorotate() public méthode

public ShouldAutorotate ( ) : bool
Résultat bool

ViewDidDisappear() public méthode

public ViewDidDisappear ( bool animated ) : void
animated bool
Résultat void

ViewDidLoad() public méthode

public ViewDidLoad ( ) : void
Résultat void

ViewWillAppear() public méthode

public ViewWillAppear ( bool animated ) : void
animated bool
Résultat void

ViewWillTransitionToSize() public méthode

public ViewWillTransitionToSize ( CGSize toSize, IUIViewControllerTransitionCoordinator coordinator ) : void
toSize CGSize
coordinator IUIViewControllerTransitionCoordinator
Résultat void