GoogleARCore.SessionStatusExtensions

Extension methods for the SessionStatus enumeration.

Summary

Public static functions

IsError(this SessionStatus status)
bool
Gets whether a SessionStatus is an error.
IsNotInitialized(this SessionStatus status)
bool
Gets whether a SessionStatus is not yet initialized.
IsValid(this SessionStatus status)
bool
Gets whether a SessionStatus is initialized and valid.

Public static functions

IsError

bool IsError(
  this SessionStatus status
)

Gets whether a SessionStatus is an error.

Details
Parameters
status
The SessionStatus to check.
Returns
true if the SessionStatus is an error, otherwise false.

IsNotInitialized

bool IsNotInitialized(
  this SessionStatus status
)

Gets whether a SessionStatus is not yet initialized.

Details
Parameters
status
The SessionStatus to check.
Returns
true if the SessionStatus is not initialized, otherwise false.

IsValid

bool IsValid(
  this SessionStatus status
)

Gets whether a SessionStatus is initialized and valid.

Details
Parameters
status
The SessionStatus to check.
Returns
true if the SessionStatus is initialized and valid, otherwise false.

Send feedback about...