DashMapGptConfig

Configuration for the MapGPT feature.

Parameters

isEnabled

Enables or disables the MapGPT feature.

isSettingsMenuEnabled

Enables or disables the MapGPT settings menu.

avatar

Allows for custom avatar animations.

isKeyboardModeEnabled

Enables or disables the MapGPT keyboard mode.

profileId

The profile ID to use for MapGPT.

capabilities

Set capabilities to be handled external from the SDK.

capabilitiesMiddleware

Set middleware to handle capabilities.

microphoneMiddleware

The microphone middleware to be used with some userInputMiddleware.

userInputMiddleware

The user input middleware to use for MapGPT.

musicPlayerMiddleware

The music player middleware to use for MapGPT.

wakeWordMiddleware

The wake word middleware to use for MapGPT.

Types

Properties

Link copied to clipboard
val avatar: MapGptAvatar? = null
Link copied to clipboard
Link copied to clipboard
@Serializable(with = RedactedMapSerializer::class)
open override val customValues: MutableMap<String, Any?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val microphoneMiddleware: Set<PlatformMicrophoneMiddleware>
Link copied to clipboard
val musicPlayerMiddleware: Set<MusicPlayerMiddleware>
Link copied to clipboard
Link copied to clipboard
val userInputMiddleware: Set<UserInputOwnerMiddleware>
Link copied to clipboard
val wakeWordMiddleware: Set<WakeWordMiddleware>

Functions

Link copied to clipboard
fun <T, B : DashConfigBuilder<T, B>> DashConfigBase<T, B>.copy(func: B.() -> Unit): T

Creates a copy of a given configuration instances with options mutated by the provided function.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toBuilder(): DashMapGptConfig.Builder

Returns a new Builder instance with copied elements of this configuration.

Link copied to clipboard
open override fun toString(): String