Package-level declarations

Types

Link copied to clipboard

This implementation of InternalMapGptManager is used when the MapGPT feature is not available.

Link copied to clipboard

This interface provides an entry point to the MapGPT feature.

Link copied to clipboard
class LottieMapGptAvatar(val name: String, @RawRes val listeningToUser: Int, @RawRes val userSpeaking: Int, @RawRes val aiThinking: Int, @RawRes val aiSpeaking: Int, @RawRes val aiError: Int, @RawRes val aiIdle: Int, @RawRes val aiSleeping: Int, @RawRes val noMicPermission: Int, @RawRes val serviceDisconnected: Int) : MapGptAvatar

Represents an Avatar which is animated with Lottie json resources.

Link copied to clipboard
class MapGptApiTokens(val mapGptApiToken: String)

This object is temporary for exposing the api tokens through the DashConfig. Likely that each token will be exposed as a feature in the future.

Link copied to clipboard
sealed class MapGptAvatar

Is an animating representation of the MapGPT assistant.

Link copied to clipboard

The MapGptUIOptions class allows you to customize the UI of the MapGpt SDK. The position of the avatar used for the overall layout of the UI.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface MapGptManager

This interface can be used to invoke specific functions related to MapGPT.

Link copied to clipboard
data class MapGptState(val enabled: Boolean = false, val conversationActive: Boolean = false, val uiVisible: Boolean = false, val chatExpanded: Boolean = false, val profileId: String = "", val bottomBarHeight: Int = 0)
Link copied to clipboard

Functions

Link copied to clipboard

Extension function to create a MapGptDetachableUI instance with builder DSL.