class CapabilityChecker (Niantic.ARDK.Extensions.CapabilityChecker)

Overview

class CapabilityChecker: Niantic.ARDK.Extensions.UnityLifecycleDriver {
public:
    // enums

    enum FailureType;

    // structs

    struct FailureReason;

    // classes

    class FailureEvent;
    class SuccessEvent;

    // fields

    FailureEvent Failure = new FailureEvent();
    SuccessEvent Success = new SuccessEvent();

    // properties

    bool HasSucceeded;

    // methods

    void CheckCapability();
};

Inherited Members

public:
    // properties

    bool AreFeaturesEnabled;
    bool CanInitialize;
    bool Initialized;

    // methods

    void Deinitialize();
    void DisableFeatures();
    void EnableFeatures();
    void Initialize();

Detailed Documentation

Methods

void CheckCapability()

Asynchronously checks whether the device is AR-capable. Reports the result through either the Success or Failure event and the HasSucceeded property.