GraffityARCloudConfiguration
Immutable configuration for one SDK session. Construct through GraffityARCloudConfiguration.Builder(accessToken: String); the direct constructor is internal.
Builder surface
Every setter returns Builder. The final build(): GraffityARCloudConfiguration rejects blank tokens with GraffityARCloudError.InvalidAccessToken.
| Method | Read-only property | Type | Default |
|---|---|---|---|
| Builder constructor | accessToken | String | Required |
mode(mode) | mode | GraffityARMode | Navigation |
environment(env) | environment | GraffityAREnvironment | Production |
userId(id) | userId | String? | null |
initialLocation(location) | initialLocation | Location? | null |
logging(logging) | logging | GraffityARLogging | Default |
telemetry(telemetry) | telemetry | GraffityARTelemetry | Disabled |
stringsProvider(provider) | stringsProvider | GraffityARStringsProvider? | null |
minimap(enabled) | minimap | Boolean | false |
preferredTransitionTypeId(id) | preferredTransitionTypeId | String? | null |
deepLink(deepLink) | deepLink | GraffityARDeepLink? | null |
theme(theme) | theme | GraffityARTheme | DEFAULT |
For each setter, its argument has the property’s type above. The SDK constructor also performs the blank-token check. Neither check proves backend authorization.
See configuration examples and semantics and supporting types.