IsError
(
res
)
|
Tests whether an OVRSpatialAnchor.OperationResult represents an error.
Signature
static bool IsError(this OVRSpatialAnchor.OperationResult res) Parameters Returns bool
Returns true if res is an error result, otherwise false.
|
IsSuccess
(
res
)
|
Tests whether an OVRSpatialAnchor.OperationResult represents an unqualified success.
Signature
static bool IsSuccess(this OVRSpatialAnchor.OperationResult res) Parameters Returns bool
Returns true if res is a successful result, otherwise false.
|
IsWarning
(
res
)
|
(Obsolete) Tests whether an OVRSpatialAnchor.OperationResult represents a warning (also known as a "qualified success").
DeprecatedA warning (or "qualified success") means that the operation didn't fail, but succeeded with some additional information.
There are no OVRSpatialAnchor.OperationResult values that represent warnings, so this method need not be used.
Signature
static bool IsWarning(this OVRSpatialAnchor.OperationResult res) Parameters Returns bool
Returns true if res is a warning, otherwise false.
|