GARSession(Semantics)
Category adding Scene Semantics functionality to GARSession.
Summary
Public methods |
|
|---|---|
isSemanticModeSupported:
|
BOOL
Determines whether the given
GARSemanticMode is supported on the current device and OS version. |
Public methods
isSemanticModeSupported:
- (BOOL)isSemanticModeSupported:(GARSemanticMode) semanticMode
Determines whether the given GARSemanticMode is supported on the current device and OS version.
If this returns NO, then using setConfiguration:error: (GARSession) with the given semantic mode will fail with the error code GARSessionErrorCodeConfigurationNotSupported. A device may be incompatible with a given mode due to insufficient sensor capabilities or compute performance.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
YES if the semanticMode is supported, NO otherwise. |
||
GARSession.