Class SessionAvailabilityExtensions
Extensions to the SessionAvailability and SessionInstallationStatus enums.
Inherited Members
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 |
|
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 |
|