toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-voice-guidance
/
com.mapbox.nav.gm.voiceGuidance.loader
/
VoiceInstructionsLoaderImpl
Voice
Instructions
Loader
Impl
class
VoiceInstructionsLoaderImpl
(
diskCacheProvider
:
DiskCacheProvider
,
speechApiLazy
:
Lazy
<
MapboxSpeechApi
>
)
:
VoiceInstructionsLoader
Members
Constructors
Voice
Instructions
Loader
Impl
Link copied to clipboard
constructor
(
diskCacheProvider
:
DiskCacheProvider
,
speechApiLazy
:
Lazy
<
MapboxSpeechApi
>
)
Functions
clean
Link copied to clipboard
open
override
fun
clean
(
announcement
:
SpeechAnnouncement
)
get
Link copied to clipboard
open
suspend override
fun
get
(
voiceInstructions
:
VoiceInstructions
,
timeMillis
:
Long
)
:
SpeechAnnouncement
is
Cached
Link copied to clipboard
open
override
fun
isCached
(
voiceInstructions
:
VoiceInstructions
)
:
Boolean
prepare
Link copied to clipboard
open
suspend override
fun
prepare
(
voiceInstructions
:
VoiceInstructions
)
:
Boolean