C# Class SnapDotNet.Apps.Pages.SignedIn.CameraWrapped

显示文件 Open project: 0xdeafcafe/SnapDotNet Class Usage Examples

Public Properties

Property Type Description
isFlashSupported bool
isFrontFacingSupported bool
mediaCapture Windows.Media.Capture.MediaCapture

Public Methods

Method Description
BeginVideoRecord ( ) : System.Threading.Tasks.Task
CapturePhoto ( ) : Task
ChangeActiveCamera ( ) : void
DisableFlash ( ) : void
EnableFlash ( ) : void
EndVideoRecord ( ) : Task
Initialise ( ) : System.Threading.Tasks.Task
TryStartPreviewAsync ( ) : System.Threading.Tasks.Task
TryStopPreviewAsync ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
GenerateDefaults ( ) : System.Threading.Tasks.Task
GetCameraDevices ( ) : System.Threading.Tasks.Task

Method Details

BeginVideoRecord() public method

public BeginVideoRecord ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

CapturePhoto() public method

public CapturePhoto ( ) : Task
return Task

ChangeActiveCamera() public method

public ChangeActiveCamera ( ) : void
return void

DisableFlash() public method

public DisableFlash ( ) : void
return void

EnableFlash() public method

public EnableFlash ( ) : void
return void

EndVideoRecord() public method

public EndVideoRecord ( ) : Task
return Task

Initialise() public method

public Initialise ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

TryStartPreviewAsync() public method

public TryStartPreviewAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

TryStopPreviewAsync() public method

public TryStopPreviewAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Property Details

isFlashSupported public_oe property

public bool isFlashSupported
return bool

isFrontFacingSupported public_oe property

public bool isFrontFacingSupported
return bool

mediaCapture public_oe property

public MediaCapture,Windows.Media.Capture mediaCapture
return Windows.Media.Capture.MediaCapture