# GARSession(Semantics)

Category adding Scene Semantics functionality to `https://developers.google.com/ar/reference/ios/interface/GARSession#interface_g_a_r_session`.

## Summary

| ### Public methods ||
|---|---|
| `https://developers.google.com/ar/reference/ios/category/GARSession(Semantics)#issemanticmodesupported:` | `BOOL` Determines whether the given `https://developers.google.com/ar/reference/ios/group/GARSemanticMode#garsemanticmode` is supported on the current device and OS version. |

## Public methods

### isSemanticModeSupported:

```
- (BOOL)isSemanticModeSupported:(https://developers.google.com/ar/reference/ios/group/GARSemanticMode#garsemanticmode) semanticMode
```
Determines whether the given `https://developers.google.com/ar/reference/ios/group/GARSemanticMode#garsemanticmode` is supported on the current device and OS version.

If this returns `NO`, then using `https://developers.google.com/ar/reference/ios/interface/GARSession#setconfiguration:error:` with the given semantic mode will fail with the error code `https://developers.google.com/ar/reference/ios/group/GARSessionErrorCode#garsessionerrorcodeconfigurationnotsupported`. A device may be incompatible with a given mode due to insufficient sensor capabilities or compute performance.


Details Parameters `semanticMode` The Scene Semantics mode. **Returns** `YES` if the `semanticMode` is supported, `NO` otherwise. Extends class `https://developers.google.com/ar/reference/ios/interface/GARSession#interface_g_a_r_session_1a53d3e43a967121d5b698bef51ddb7fd1`.