Class BaseView
- Namespace
- CapCognition.Maui.Views
- Assembly
- CapCognition.Maui.dll
public abstract class BaseView : Grid, INotifyPropertyChanged, IDynamicResourceHandler, INameScope, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, INavigationProxy, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IBindableLayout, IPaddingElement, IVisualTreeElement, IGridLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, ICameraControlledView
- Inheritance
-
BaseView
- Implements
- Derived
- Inherited Members
Fields
AutoOpenCameraProperty
public static readonly BindableProperty AutoOpenCameraProperty
Field Value
CameraIsOpenProperty
public static readonly BindableProperty CameraIsOpenProperty
Field Value
CameraIsOpenPropertyKey
public static readonly BindablePropertyKey CameraIsOpenPropertyKey
Field Value
CaptureIntervalInMsProperty
public static readonly BindableProperty CaptureIntervalInMsProperty
Field Value
CapturePendingProperty
public static readonly BindableProperty CapturePendingProperty
Field Value
CapturePendingPropertyKey
public static readonly BindablePropertyKey CapturePendingPropertyKey
Field Value
CaptureResolutionProperty
public static readonly BindableProperty CaptureResolutionProperty
Field Value
CaptureResolutionPropertyKey
public static readonly BindablePropertyKey CaptureResolutionPropertyKey
Field Value
DisplayWatermarkProperty
public static readonly BindableProperty DisplayWatermarkProperty
Field Value
FillPreviewToViewProperty
public static readonly BindableProperty FillPreviewToViewProperty
Field Value
HasTorchProperty
public static readonly BindableProperty HasTorchProperty
Field Value
HasTorchPropertyKey
public static readonly BindablePropertyKey HasTorchPropertyKey
Field Value
InitializedProperty
public static readonly BindableProperty InitializedProperty
Field Value
InitializedPropertyKey
public static readonly BindablePropertyKey InitializedPropertyKey
Field Value
Log
protected static ILogger Log
Field Value
PreviewResolutionProperty
public static readonly BindableProperty PreviewResolutionProperty
Field Value
PreviewResolutionPropertyKey
public static readonly BindablePropertyKey PreviewResolutionPropertyKey
Field Value
RequestedCaptureResolutionWidthProperty
public static readonly BindableProperty RequestedCaptureResolutionWidthProperty
Field Value
RequestedPreviewResolutionWidthProperty
public static readonly BindableProperty RequestedPreviewResolutionWidthProperty
Field Value
TorchIsOnProperty
public static readonly BindableProperty TorchIsOnProperty
Field Value
TorchIsOnPropertyKey
public static readonly BindablePropertyKey TorchIsOnPropertyKey
Field Value
UseFrontCameraProperty
public static readonly BindableProperty UseFrontCameraProperty
Field Value
Properties
AutoOpenCamera
public bool AutoOpenCamera { get; set; }
Property Value
CameraIsOpen
public bool CameraIsOpen { get; }
Property Value
CaptureIntervalInMs
public int CaptureIntervalInMs { get; set; }
Property Value
CapturePending
public bool CapturePending { get; }
Property Value
CaptureResolution
public Resolution? CaptureResolution { get; }
Property Value
- Resolution
DisplayWatermark
public bool DisplayWatermark { get; set; }
Property Value
FillPreviewToView
public bool FillPreviewToView { get; set; }
Property Value
HasTorch
public bool HasTorch { get; }
Property Value
Initialized
public bool Initialized { get; }
Property Value
PreviewResolution
public Resolution? PreviewResolution { get; }
Property Value
- Resolution
RequestedCaptureResolutionWidth
public int? RequestedCaptureResolutionWidth { get; set; }
Property Value
- int?
RequestedPreviewResolutionWidth
public int? RequestedPreviewResolutionWidth { get; set; }
Property Value
- int?
TorchIsOn
public bool TorchIsOn { get; }
Property Value
UseFrontCamera
public bool UseFrontCamera { get; set; }
Property Value
Methods
CheckPermissionsAsync()
protected Task<bool> CheckPermissionsAsync()
Returns
NotifyCameraOpened(bool)
public void NotifyCameraOpened(bool success)
Parameters
successbool
OnCapturePendingChanged(bool)
public void OnCapturePendingChanged(bool state)
Parameters
statebool
RequestAllPermissionAsync()
public Task<bool> RequestAllPermissionAsync()
Returns
RequestPermissionsAsync()
protected Task<bool> RequestPermissionsAsync()
Returns
SetTorch(bool)
public abstract void SetTorch(bool on)
Parameters
onbool
Events
CameraOpenedEvt
public event BaseView.CameraOpenedDelegate? CameraOpenedEvt
Event Type
CapturePendingChangedEvt
public event Action<bool>? CapturePendingChangedEvt