toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-map-gpt
/
com.mapbox.navigation.mapgpt.openai
/
OpenAiState
Open
Ai
State
sealed
class
OpenAiState
Inheritors
Idle
Requesting
Responding
Result
Error
Members
Types
Error
Link copied to clipboard
data
class
Error
(
val
requestText
:
String
,
val
reason
:
String
)
:
OpenAiState
Idle
Link copied to clipboard
object
Idle
:
OpenAiState
Requesting
Link copied to clipboard
@
Serializable
data
class
Requesting
(
val
requestText
:
String
)
:
OpenAiState
Responding
Link copied to clipboard
@
Serializable
data
class
Responding
(
val
elapsedRealtime
:
Long
,
val
requestText
:
String
,
val
responseText
:
String
)
:
OpenAiState
Result
Link copied to clipboard
@
Serializable
data
class
Result
(
val
elapsedRealtime
:
Long
,
val
requestText
:
String
,
val
responseText
:
String
)
:
OpenAiState
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String