VoiceInstructionsLoaderImpl

class VoiceInstructionsLoaderImpl(diskCacheProvider: DiskCacheProvider, speechApiLazy: Lazy<MapboxSpeechApi>) : VoiceInstructionsLoader

Constructors

Link copied to clipboard
constructor(diskCacheProvider: DiskCacheProvider, speechApiLazy: Lazy<MapboxSpeechApi>)

Functions

Link copied to clipboard
open override fun clean(announcement: SpeechAnnouncement)
Link copied to clipboard
open suspend override fun get(voiceInstructions: VoiceInstructions, timeMillis: Long): SpeechAnnouncement
Link copied to clipboard
open override fun isCached(voiceInstructions: VoiceInstructions): Boolean
Link copied to clipboard
open suspend override fun prepare(voiceInstructions: VoiceInstructions): Boolean