toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-map-gpt
/
com.mapbox.navigation.mapgpt.openai
/
SessionIdRepository
Session
Id
Repository
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
SessionIdRepository
(
storage
:
Storage
,
authenticationRepository
:
AuthenticationRepository
)
Members
Constructors
Session
Id
Repository
Link copied to clipboard
constructor
(
storage
:
Storage
,
authenticationRepository
:
AuthenticationRepository
)
Properties
session
Id
Link copied to clipboard
val
sessionId
:
StateFlow
<
String
?
>
Functions
clear
Session
Id
Link copied to clipboard
fun
clearSessionId
(
)
save
Session
Id
Link copied to clipboard
suspend
fun
saveSessionId
(
sessionId
:
String
)