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 |
|
||
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 |
|
||
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 |
|
||
Returns |
true if the SessionStatus is initialized and valid, otherwise false . |