GraffityARCloudConfiguration
public struct GraffityARCloudConfiguration: Sendable
Immutable configuration for one session. Requires iOS 18.0+. Its initializer does not validate or throw; the consuming GraffityARCloud initializer does.
Initializer
The external initializer accepts these named arguments in this order:
| Argument / read-only property | Type | Default |
|---|---|---|
accessToken | String | Required |
mode | GraffityARMode | .navigation |
userId | String? | nil |
initialLocation | CLLocation? | nil |
logging | GraffityARLogging | .default |
telemetry | GraffityARTelemetry | .default (.disabled) |
minimap | GraffityARMinimapConfiguration | .disabled |
theme | GraffityARTheme | .default |
preferredTransitionTypeId | String? | nil |
deepLink | GraffityARDeepLink? | nil |
All properties above use public let. The public initializer fixes the environment to production. An environment property and alternate initializer exist under GraffityInternal SPI and are not external API.
For the meaning of every argument, token rules, and a complete example, see session configuration. For enum cases and factories, see supporting types.