toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-map-gpt
/
com.mapbox.navigation.mapgpt.openai.context
/
MapGptUserContextProvider
Map
Gpt
User
Context
Provider
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
MapGptUserContextProvider
(
contextOverrides
:
MapGptContextOverrides
,
locationProvider
:
MapGptLocationProvider
)
:
UIComponent
Members
Constructors
Map
Gpt
User
Context
Provider
Link copied to clipboard
constructor
(
contextOverrides
:
MapGptContextOverrides
,
locationProvider
:
MapGptLocationProvider
)
Properties
coroutine
Scope
Link copied to clipboard
lateinit
var
coroutineScope
:
CoroutineScope
Functions
get
Context
Link copied to clipboard
fun
getContext
(
)
:
MapGptUserContextDTO
?
on
Attached
Link copied to clipboard
open
override
fun
onAttached
(
mapboxNavigation
:
MapboxNavigation
)
on
Detached
Link copied to clipboard
open
override
fun
onDetached
(
mapboxNavigation
:
MapboxNavigation
)