C# Class SoZoomy.ViewController

Exibir arquivo Open project: xamarin/monotouch-samples

Private Properties

Property Type Description
TouchCallBack void
clearLockedFace void
displayErrorOnMainQueue void
fadeInFaces void
flash void
getZoomSliderValue float
meme void
pickCamera AVCaptureDeviceInput
setZoomSliderValue void
setupAVCapture void
setupAVFoundationFaceDetection void
sliderChanged void
startZoom void
teardownAVCapture void
teardownAVFoundationFaceDetection void
updateAVFoundationFaceDetection void
updateCameraSelection void

Public Methods

Method Description
DidOutputMetadataObjects ( AVCaptureMetadataOutput captureOutput, AVMetadataObject faces, AVCaptureConnection connection ) : void
ObserveValue ( NSString keyPath, NSObject ofObject, NSDictionary change, IntPtr context ) : void
TouchesEnded ( NSSet touches, UIEvent evt ) : void
ViewController ( ) : System
ViewDidLoad ( ) : void
WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void

Private Methods

Method Description
TouchCallBack ( int faceId, SoZoomy.FaceView view ) : void
clearLockedFace ( ) : void
displayErrorOnMainQueue ( NSError error, string message ) : void
fadeInFaces ( ) : void
flash ( ) : void
getZoomSliderValue ( ) : float
meme ( NSObject sender ) : void
pickCamera ( ) : AVCaptureDeviceInput
setZoomSliderValue ( float value ) : void
setupAVCapture ( ) : void
setupAVFoundationFaceDetection ( ) : void
sliderChanged ( NSObject sender ) : void
startZoom ( NSNumber target ) : void
teardownAVCapture ( ) : void
teardownAVFoundationFaceDetection ( ) : void
updateAVFoundationFaceDetection ( ) : void
updateCameraSelection ( ) : void

Method Details

DidOutputMetadataObjects() public method

public DidOutputMetadataObjects ( AVCaptureMetadataOutput captureOutput, AVMetadataObject faces, AVCaptureConnection connection ) : void
captureOutput AVCaptureMetadataOutput
faces AVMetadataObject
connection AVCaptureConnection
return void

ObserveValue() public method

public ObserveValue ( NSString keyPath, NSObject ofObject, NSDictionary change, IntPtr context ) : void
keyPath NSString
ofObject NSObject
change NSDictionary
context IntPtr
return void

TouchesEnded() public method

public TouchesEnded ( NSSet touches, UIEvent evt ) : void
touches NSSet
evt UIEvent
return void

ViewController() public method

public ViewController ( ) : System
return System

ViewDidLoad() public method

public ViewDidLoad ( ) : void
return void

WillRotate() public method

public WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
toInterfaceOrientation UIInterfaceOrientation
duration double
return void