C# Class BuildIt.AR.UWP.Utilities.CameraFeedUtility

Mostrar archivo Open project: builttoroam/BuildIt Class Usage Examples

Public Methods

Method Description
CameraFeedUtility ( CaptureElement captureElement, CoreDispatcher dispatcher ) : System
CleanupCameraAsync ( ) : System.Threading.Tasks.Task
StartPreviewAsync ( VideoRotation videoRotation ) : System.Threading.Tasks.Task
UpdatePreviewRotation ( Rotation rotation ) : void

Private Methods

Method Description
FindCameraDeviceByPanelAsync ( Windows.Devices.Enumeration.Panel desiredPanel ) : Task

Queries the available video capture devices to try and find one mounted on the desired panel

Method Details

CameraFeedUtility() public method

public CameraFeedUtility ( CaptureElement captureElement, CoreDispatcher dispatcher ) : System
captureElement Windows.UI.Xaml.Controls.CaptureElement
dispatcher Windows.UI.Core.CoreDispatcher
return System

CleanupCameraAsync() public method

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

StartPreviewAsync() public method

public StartPreviewAsync ( VideoRotation videoRotation ) : System.Threading.Tasks.Task
videoRotation VideoRotation
return System.Threading.Tasks.Task

UpdatePreviewRotation() public method

public UpdatePreviewRotation ( Rotation rotation ) : void
rotation Rotation
return void