Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

0.24.0 Migration Guide

Dan Nesfeder edited this pageNov 30, 2018 ·1 revision

PRs that broke SEMVER:


InFix voice instructions cache we updated how theNavigationSpeechPlayer is created. This is the same speech player we use by default in theNavigationView, but you are able to use it as a separate component as well. We now give you control over theCache used to pre-cache voice instructions.

New initialization:

    val english = US.language     val cache = Cache(File(application.cacheDir, EXAMPLE_INSTRUCTION_CACHE),            TEN_MEGABYTE_CACHE_SIZE)    val voiceInstructionLoader = VoiceInstructionLoader(getApplication(), accessToken, cache)    val speechPlayerProvider = SpeechPlayerProvider(getApplication(), english, true, voiceInstructionLoader)    speechPlayer = NavigationSpeechPlayer(speechPlayerProvider)

InUse most recent raw Location when building snapped Location we updatedSnapToRoute#getSnappedLocationWith to take a rawLocation in addition to theNavigationStatus:

Old:

public Location getSnappedLocationWith(NavigationStatus status)

New:

public Location getSnappedLocationWith(NavigationStatus status, Location rawLocation)

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp