holoride
Search Results for

    Show / Hide Table of Contents

    Class ServiceValidationModel

    Represents the isolated implementation for validating service installation and system permissions.

    Inheritance
    object
    ServiceValidationModel
    Implements
    IServiceValidation
    INotifyPropertyChanged
    IDisposable
    Namespace: Holoride.ElasticSDK
    Assembly: Holoride.ElasticSDK.StateReceivers.dll
    Syntax
    public sealed class ServiceValidationModel : IServiceValidation, INotifyPropertyChanged, IDisposable

    Properties

    ArePermissionsGranted

    Gets a value indicating whether all required permissions to communicate with the service have been granted.

    Declaration
    public bool ArePermissionsGranted { get; }
    Property Value
    Type Description
    bool

    IsHolorideServiceInstalled

    Gets a value indicating whether the holoride service is installed on the device.

    Declaration
    public bool IsHolorideServiceInstalled { get; }
    Property Value
    Type Description
    bool

    IsServiceAvailable

    Gets a value indicating whether the holoride service is available.

    Declaration
    public bool IsServiceAvailable { get; }
    Property Value
    Type Description
    bool

    IsServiceConnected

    Gets a value indicating whether the holoride service is connected.

    Declaration
    public bool IsServiceConnected { get; }
    Property Value
    Type Description
    bool

    Methods

    Dispose()

    Declaration
    public void Dispose()

    StartValidationAndConnection()

    Starts the validation and connection process.

    Declaration
    public void StartValidationAndConnection()

    StopValidationAndConnection()

    Stops the validation and connection process.

    Declaration
    public void StopValidationAndConnection()

    ValidateAndConnectAsync(CancellationToken)

    Orchestrates checking/requesting installation and checking/requesting permissions.

    Declaration
    public UniTask ValidateAndConnectAsync(CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Returns
    Type Description
    UniTask

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    PropertyChangedEventHandler

    Implements

    IServiceValidation
    INotifyPropertyChanged
    IDisposable
    In This Article

    Back to top
    ©   holoride
    Privacy   Imprint