mapbox / mapbox/mapbox-navigation-android

Add replay playback listener

Open
#2,998 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

**Android API:**
**Mapbox Navigation SDK version:**

> looping the replay: Currently we don't know when the replay stopped, so we can restart the replay to loop (required for replaying history recordings, but not for routes). => A ReplayFinishedListener or a configuration loop would be required here.

Feature request for the `MapboxReplayer`. There is not a callback for determining when all the pushedEvents have finished playing. This ticket is to add this ability, and consider other playback callbacks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the MapboxReplayer entry point and tracing how pushedEvents are queued and completed. Define what completion means for a replay, then verify that a listener or loop configuration can observe or restart playback without affecting route replays.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.