Class SessionAvailabilityExtensions
Extensions to the SessionAvailability and SessionInstallationStatus enums.
Namespace: UnityEngine.XR.ARSubsystems
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 |
---|---|
Boolean | True if the Installed flag is set. |
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 |
---|---|
Boolean | True if the Supported flag is set. |