Class PhotoCaptureView
- Namespace
- VisioForge.Core.UI.MAUI
- Assembly
- VisioForge.Core.UI.MAUI.dll
Class PhotoCaptureView. Implements the Microsoft.Maui.Controls.View
public class PhotoCaptureView : View, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IView, ITransform, IElementInheritance
Implements
Inherited Members
Constructors
PhotoCaptureView()
Initializes a new instance of the VisioForge.Core.UI.MAUI.PhotoCaptureView class.
public PhotoCaptureView()Remarks
It is unlikely that an application developer would want to create an instance of Microsoft.Maui.Controls.View on their own.
Methods
SavePhotoAsync(string)
Saves a photo asynchronously with the specified filename.
public Task<bool> SavePhotoAsync(string filename)Parameters
filenamestring-
The filename to save the photo as.
Returns
- Task<bool>
-
A task that represents the asynchronous save operation. The task result contains true if successful, false otherwise.