Skip to Content

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 propertyTypeDefault
accessTokenStringRequired
modeGraffityARMode.navigation
userIdString?nil
initialLocationCLLocation?nil
loggingGraffityARLogging.default
telemetryGraffityARTelemetry.default (.disabled)
minimapGraffityARMinimapConfiguration.disabled
themeGraffityARTheme.default
preferredTransitionTypeIdString?nil
deepLinkGraffityARDeepLink?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.