Class SessionAvailabilityExtensions
Extensions to the SessionAvailability and SessionInstallationStatus enums.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public static class SessionAvailabilityExtensions
Methods
IsInstalled(SessionAvailability)
A helper method for SessionAvailability flags.
Declaration
public static bool IsInstalled(this SessionAvailability availability)
Parameters
Type | Name | Description |
---|---|---|
SessionAvailability | availability | A SessionAvailability enum. |
Returns
Type | Description |
---|---|
bool |
|
IsSupported(SessionAvailability)
A helper method for SessionAvailability flags.
Declaration
public static bool IsSupported(this SessionAvailability availability)
Parameters
Type | Name | Description |
---|---|---|
SessionAvailability | availability | A SessionAvailability enum. |
Returns
Type | Description |
---|---|
bool |
|