DashGuidancePlayer

class DashGuidancePlayer(player: Player, languageRepository: LanguageRepository, groupedVoiceInstructionsUseCase: GroupedVoiceInstructionsUseCase, instructionsToPrefetch: Flow<List<VoiceInstructionImpl>>, instructionsToPlay: Flow<VoiceInstructions> = MapboxNavigationApp.flowVoiceInstructions(), rerouteState: Flow<RerouteState> = MapboxNavigationApp.flowRerouteState(), routeProgress: Flow<RouteProgress> = MapboxNavigationApp.flowRouteProgress(), locationMatcher: Flow<LocationMatcherResult> = MapboxNavigationApp.flowLocationMatcherResult()) : GuidancePlayer

Constructors

Link copied to clipboard
constructor(player: Player, languageRepository: LanguageRepository, groupedVoiceInstructionsUseCase: GroupedVoiceInstructionsUseCase, instructionsToPrefetch: Flow<List<VoiceInstructionImpl>>, instructionsToPlay: Flow<VoiceInstructions> = MapboxNavigationApp.flowVoiceInstructions(), rerouteState: Flow<RerouteState> = MapboxNavigationApp.flowRerouteState(), routeProgress: Flow<RouteProgress> = MapboxNavigationApp.flowRouteProgress(), locationMatcher: Flow<LocationMatcherResult> = MapboxNavigationApp.flowLocationMatcherResult())

Functions

Link copied to clipboard
open override fun startInstructionsPlaying()
Link copied to clipboard
open override fun stopInstructionsPlaying()