C# Class AVCam.CameraViewController

Inheritance: UIViewController, IAVCaptureFileOutputRecordingDelegate
Show file Open project: xamarin/monotouch-samples Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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

Method 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 method

public CameraViewController ( IntPtr handle ) : System
handle System.IntPtr
return System

FinishedRecording() public method

public FinishedRecording ( AVCaptureFileOutput captureOutput, NSUrl outputFileUrl, NSObject connections, NSError error ) : void
captureOutput AVCaptureFileOutput
outputFileUrl NSUrl
connections NSObject
error NSError
return void

GetSupportedInterfaceOrientations() public method

public GetSupportedInterfaceOrientations ( ) : UIInterfaceOrientationMask
return UIInterfaceOrientationMask

ShouldAutorotate() public method

public ShouldAutorotate ( ) : bool
return bool

ViewDidDisappear() public method

public ViewDidDisappear ( bool animated ) : void
animated bool
return void

ViewDidLoad() public method

public ViewDidLoad ( ) : void
return void

ViewWillAppear() public method

public ViewWillAppear ( bool animated ) : void
animated bool
return void

ViewWillTransitionToSize() public method

public ViewWillTransitionToSize ( CGSize toSize, IUIViewControllerTransitionCoordinator coordinator ) : void
toSize CGSize
coordinator IUIViewControllerTransitionCoordinator
return void