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

Afficher le fichier Open project: builttoroam/BuildIt Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

CleanupCameraAsync() public méthode

public CleanupCameraAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

StartPreviewAsync() public méthode

public StartPreviewAsync ( VideoRotation videoRotation ) : System.Threading.Tasks.Task
videoRotation VideoRotation
Résultat System.Threading.Tasks.Task

UpdatePreviewRotation() public méthode

public UpdatePreviewRotation ( Rotation rotation ) : void
rotation Rotation
Résultat void