Skip to content

Add property to indicate if the current session was started with startReplayTripSession #4935

@kmadsen

Description

@kmadsen

Mapbox Navigation SDK version: 2.0.0-rc.4

MapboxNavigation.startTripSession
MapboxNavigation.startReplayTripSession

In other parts of the app you need to know if you should be using MapboxNavigation.mapboxReplayer. The only time you can use mapboxReplayer is if you call startReplayTripSession

There are other options when starting a trip session. withForegroundService for example. So for this task, instead of only exposing a MapboxNavigation.replayEnabled. I think we should expose something like MapboxNavigation.tripSessionOptions. Where TripSessionOptions includes the options used to start the trip session.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions