Table of Contents

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

BindableProperty

CameraIsOpenProperty

public static readonly BindableProperty CameraIsOpenProperty

Field Value

BindableProperty

CameraIsOpenPropertyKey

public static readonly BindablePropertyKey CameraIsOpenPropertyKey

Field Value

BindablePropertyKey

CaptureIntervalInMsProperty

public static readonly BindableProperty CaptureIntervalInMsProperty

Field Value

BindableProperty

CapturePendingProperty

public static readonly BindableProperty CapturePendingProperty

Field Value

BindableProperty

CapturePendingPropertyKey

public static readonly BindablePropertyKey CapturePendingPropertyKey

Field Value

BindablePropertyKey

CaptureResolutionProperty

public static readonly BindableProperty CaptureResolutionProperty

Field Value

BindableProperty

CaptureResolutionPropertyKey

public static readonly BindablePropertyKey CaptureResolutionPropertyKey

Field Value

BindablePropertyKey

DisplayWatermarkProperty

public static readonly BindableProperty DisplayWatermarkProperty

Field Value

BindableProperty

FillPreviewToViewProperty

public static readonly BindableProperty FillPreviewToViewProperty

Field Value

BindableProperty

HasTorchProperty

public static readonly BindableProperty HasTorchProperty

Field Value

BindableProperty

HasTorchPropertyKey

public static readonly BindablePropertyKey HasTorchPropertyKey

Field Value

BindablePropertyKey

InitializedProperty

public static readonly BindableProperty InitializedProperty

Field Value

BindableProperty

InitializedPropertyKey

public static readonly BindablePropertyKey InitializedPropertyKey

Field Value

BindablePropertyKey

Log

protected static ILogger Log

Field Value

ILogger

PreviewResolutionProperty

public static readonly BindableProperty PreviewResolutionProperty

Field Value

BindableProperty

PreviewResolutionPropertyKey

public static readonly BindablePropertyKey PreviewResolutionPropertyKey

Field Value

BindablePropertyKey

RequestedCaptureResolutionWidthProperty

public static readonly BindableProperty RequestedCaptureResolutionWidthProperty

Field Value

BindableProperty

RequestedPreviewResolutionWidthProperty

public static readonly BindableProperty RequestedPreviewResolutionWidthProperty

Field Value

BindableProperty

TorchIsOnProperty

public static readonly BindableProperty TorchIsOnProperty

Field Value

BindableProperty

TorchIsOnPropertyKey

public static readonly BindablePropertyKey TorchIsOnPropertyKey

Field Value

BindablePropertyKey

UseFrontCameraProperty

public static readonly BindableProperty UseFrontCameraProperty

Field Value

BindableProperty

Properties

AutoOpenCamera

public bool AutoOpenCamera { get; set; }

Property Value

bool

CameraIsOpen

public bool CameraIsOpen { get; }

Property Value

bool

CaptureIntervalInMs

public int CaptureIntervalInMs { get; set; }

Property Value

int

CapturePending

public bool CapturePending { get; }

Property Value

bool

CaptureResolution

public Resolution? CaptureResolution { get; }

Property Value

Resolution

DisplayWatermark

public bool DisplayWatermark { get; set; }

Property Value

bool

FillPreviewToView

public bool FillPreviewToView { get; set; }

Property Value

bool

HasTorch

public bool HasTorch { get; }

Property Value

bool

Initialized

public bool Initialized { get; }

Property Value

bool

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

bool

UseFrontCamera

public bool UseFrontCamera { get; set; }

Property Value

bool

Methods

CheckPermissionsAsync()

protected Task<bool> CheckPermissionsAsync()

Returns

Task<bool>

NotifyCameraOpened(bool)

public void NotifyCameraOpened(bool success)

Parameters

success bool

OnCapturePendingChanged(bool)

public void OnCapturePendingChanged(bool state)

Parameters

state bool

RequestAllPermissionAsync()

public Task<bool> RequestAllPermissionAsync()

Returns

Task<bool>

RequestPermissionsAsync()

protected Task<bool> RequestPermissionsAsync()

Returns

Task<bool>

SetTorch(bool)

public abstract void SetTorch(bool on)

Parameters

on bool

Events

CameraOpenedEvt

public event BaseView.CameraOpenedDelegate? CameraOpenedEvt

Event Type

BaseView.CameraOpenedDelegate

CapturePendingChangedEvt

public event Action<bool>? CapturePendingChangedEvt

Event Type

Action<bool>