C# Class PageRendererExample.UI.iOS.CameraRendererPage

Inheritance: MvxPageRenderer
Mostrar archivo Open project: unoplatform/Uno.MvvmCross

Public Methods

Method Description
ViewWillTransitionToSize ( CGSize toSize, IUIViewControllerTransitionCoordinator coordinator ) : void

Protected Methods

Method Description
OnElementChanged ( VisualElementChangedEventArgs e ) : void

Private Methods

Method Description
AuthorizeCameraUse ( ) : void
BindViewModel ( ) : void
CapturePhoto ( object sender, EventArgs e ) : void
ConfigureCameraForDevice ( AVCaptureDevice device ) : void
GetCameraForOrientation ( AVCaptureDevicePosition orientation ) : AVCaptureDevice
ObservedBoundsChange ( NSObservedChange observedChange ) : void
SetFlashOff ( AVCaptureDevice device ) : NSError
SetFlashOn ( AVCaptureDevice device ) : NSError
SetupEventHandlers ( ) : void
SetupLiveCameraStream ( ) : void
SetupUserInterface ( ) : void
ToggleFlash ( object sender, EventArgs e ) : void
ToggleFrontBackCamera ( object sender, EventArgs e ) : void

Method Details

OnElementChanged() protected method

protected OnElementChanged ( VisualElementChangedEventArgs e ) : void
e VisualElementChangedEventArgs
return void

ViewWillTransitionToSize() public method

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