Voice Instruction Loader
open class VoiceInstructionLoader
Content copied to clipboard
Constructors
VoiceInstructionLoader
Link copied to clipboard
open fun VoiceInstructionLoader(context: Context, accessToken: String, cache: Cache)
Content copied to clipboard
VoiceInstructionLoader
Link copied to clipboard
open fun VoiceInstructionLoader(context: Context, accessToken: String, cache: Cache, baseUrl: String)
Content copied to clipboard
VoiceInstructionLoader
Link copied to clipboard
open fun VoiceInstructionLoader(context: Context, accessToken: String, cache: Cache, mapboxSpeechBuilder: MapboxSpeech.Builder, connectivityStatus: ConnectivityStatusProvider)
Content copied to clipboard
Functions
addCachedUrl
Link copied to clipboard
addStubUrlsToCache
Link copied to clipboard
cacheInstructions
Link copied to clipboard
evictVoiceInstructions
Link copied to clipboard
flushCache
Link copied to clipboard
open fun flushCache()
Content copied to clipboard
requestInstruction
Link copied to clipboard
open fun requestInstruction(instruction: String, textType: String, callback: Callback<ResponseBody>)
Content copied to clipboard
setupMapboxSpeechBuilder
Link copied to clipboard