You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libnavui-androidauto/CHANGELOG.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,13 @@ Mapbox welcomes participation and contributions from everyone.
4
4
5
5
## Unreleased
6
6
#### Features
7
+
- Added a new `MapboxCarOptions` that contains mutable options for `MapboxCarContext`. [#6478](https://github.com/mapbox/mapbox-navigation-android/pull/6478)
8
+
- Added a new `MapboxCarOptionsCustomization` that allows you to change the `MapboxCarOptions`. [#6478](https://github.com/mapbox/mapbox-navigation-android/pull/6478)
9
+
7
10
#### Bug fixes and improvements
11
+
- Removed options from the `MapboxCarContext` constructor so that it can be compatible with future changes. [#6478](https://github.com/mapbox/mapbox-navigation-android/pull/6478)
12
+
- Deleted `RoutePreviewCarContext` in favor of `MapboxCarContext`. [#6478](https://github.com/mapbox/mapbox-navigation-android/pull/6478)
13
+
- Renamed `CarSettingsStorage` to `MapboxCarStorage`. [#6478](https://github.com/mapbox/mapbox-navigation-android/pull/6478)
8
14
9
15
## androidauto-v0.14.0 - October 13, 2022
10
16
### Changelog
@@ -15,7 +21,7 @@ Mapbox welcomes participation and contributions from everyone.
15
21
- Added a default `MapboxScreenGraph` that prepares an end to end navigation experience. [#6429](https://github.com/mapbox/mapbox-navigation-android/pull/6429)
16
22
17
23
#### Bug fixes and improvements
18
-
-Delete`CarAppState` in favor of a `MapboxScreenEvent` which can be accessed through `MapboxScreenManager.screenEvent`. [#6429](https://github.com/mapbox/mapbox-navigation-android/pull/6429)
24
+
-Deleted`CarAppState` in favor of a `MapboxScreenEvent` which can be accessed through `MapboxScreenManager.screenEvent`. [#6429](https://github.com/mapbox/mapbox-navigation-android/pull/6429)
19
25
- Replaced all public implementations of `Screen` with backwards compatible implementations of `MapboxScreenFactory` and `MapboxScreen`. [#6429](https://github.com/mapbox/mapbox-navigation-android/pull/6429)
20
26
- Renamed `MainCarContext` to `MapboxCarContext`. [#6429](https://github.com/mapbox/mapbox-navigation-android/pull/6429)
21
27
- Renamed `MainCarScreen` to `FreeDriveCarScreen`. [#6429](https://github.com/mapbox/mapbox-navigation-android/pull/6429)
ctor public MapboxCarContext(androidx.lifecycle.Lifecycle lifecycle, com.mapbox.maps.extension.androidauto.MapboxCarMap mapboxCarMap);
46
+
method public com.mapbox.androidauto.car.MapboxCarContext customize(kotlin.jvm.functions.Function1<? super com.mapbox.androidauto.car.MapboxCarOptionsCustomization,kotlin.Unit> action);
50
47
method public androidx.car.app.CarContext getCarContext();
51
-
method public com.mapbox.androidauto.car.feedback.core.CarFeedbackOptions getCarFeedbackOptions();
52
-
method public com.mapbox.androidauto.car.search.CarPlaceSearchOptions getCarPlaceSearchOptions();
53
-
method public com.mapbox.androidauto.car.preview.CarRoutePreviewRequest getCarRoutePreviewRequest();
54
-
method public com.mapbox.androidauto.car.settings.CarSettingsStorage getCarSettingsStorage();
55
-
method public com.mapbox.androidauto.car.feedback.core.CarFeedbackPollProvider getFeedbackPollProvider();
56
-
method public androidx.lifecycle.LifecycleOwner getLifecycleOwner();
48
+
method public androidx.lifecycle.Lifecycle getLifecycle();
57
49
method public com.mapbox.maps.extension.androidauto.MapboxCarMap getMapboxCarMap();
50
+
method public com.mapbox.androidauto.car.settings.MapboxCarStorage getMapboxCarStorage();
51
+
method public com.mapbox.androidauto.MapboxCarNavigationManager getMapboxNavigationManager();
58
52
method public com.mapbox.androidauto.screenmanager.MapboxScreenManager getMapboxScreenManager();
59
-
method public kotlinx.coroutines.flow.MutableStateFlow<com.mapbox.androidauto.car.navigation.speedlimit.SpeedLimitOptions> getSpeedLimitOptions();
53
+
method public com.mapbox.androidauto.car.MapboxCarOptions getOptions();
54
+
method public com.mapbox.androidauto.car.preview.CarRoutePreviewRequest getRoutePreviewRequest();
60
55
property public final androidx.car.app.CarContext carContext;
56
+
property public final androidx.lifecycle.Lifecycle lifecycle;
57
+
property public final com.mapbox.maps.extension.androidauto.MapboxCarMap mapboxCarMap;
58
+
property public final com.mapbox.androidauto.car.settings.MapboxCarStorage mapboxCarStorage;
59
+
property public final com.mapbox.androidauto.MapboxCarNavigationManager mapboxNavigationManager;
60
+
property public final com.mapbox.androidauto.screenmanager.MapboxScreenManager mapboxScreenManager;
61
+
property public final com.mapbox.androidauto.car.MapboxCarOptions options;
62
+
property public final com.mapbox.androidauto.car.preview.CarRoutePreviewRequest routePreviewRequest;
63
+
}
64
+
65
+
public final class MapboxCarOptions {
66
+
ctor public MapboxCarOptions();
67
+
method public void applyCustomization(com.mapbox.androidauto.car.MapboxCarOptionsCustomization customization);
68
+
method public com.mapbox.androidauto.car.feedback.core.CarFeedbackOptions getCarFeedbackOptions();
69
+
method public com.mapbox.androidauto.car.search.CarPlaceSearchOptions getCarPlaceSearchOptions();
70
+
method public com.mapbox.androidauto.car.feedback.core.CarFeedbackPollProvider getFeedbackPollProvider();
71
+
method public com.mapbox.androidauto.notification.MapboxCarNotificationOptions getNotificationOptions();
72
+
method public com.mapbox.androidauto.car.preview.CarRouteOptionsInterceptor getRouteOptionsInterceptor();
73
+
method public kotlinx.coroutines.flow.StateFlow<com.mapbox.androidauto.car.navigation.speedlimit.SpeedLimitOptions> getSpeedLimitOptions();
61
74
property public final com.mapbox.androidauto.car.feedback.core.CarFeedbackOptions carFeedbackOptions;
62
75
property public final com.mapbox.androidauto.car.search.CarPlaceSearchOptions carPlaceSearchOptions;
63
-
property public final com.mapbox.androidauto.car.preview.CarRoutePreviewRequest carRoutePreviewRequest;
64
-
property public final com.mapbox.androidauto.car.settings.CarSettingsStorage carSettingsStorage;
65
76
property public final com.mapbox.androidauto.car.feedback.core.CarFeedbackPollProvider feedbackPollProvider;
66
-
property public final androidx.lifecycle.LifecycleOwner lifecycleOwner;
67
-
property public final com.mapbox.maps.extension.androidauto.MapboxCarMap mapboxCarMap;
68
-
property public final com.mapbox.androidauto.screenmanager.MapboxScreenManager mapboxScreenManager;
69
-
property public final kotlinx.coroutines.flow.MutableStateFlow<com.mapbox.androidauto.car.navigation.speedlimit.SpeedLimitOptions> speedLimitOptions;
77
+
property public final com.mapbox.androidauto.notification.MapboxCarNotificationOptions notificationOptions;
78
+
property public final com.mapbox.androidauto.car.preview.CarRouteOptionsInterceptor routeOptionsInterceptor;
79
+
property public final kotlinx.coroutines.flow.StateFlow<com.mapbox.androidauto.car.navigation.speedlimit.SpeedLimitOptions> speedLimitOptions;
80
+
}
81
+
82
+
public final class MapboxCarOptionsCustomization {
83
+
ctor public MapboxCarOptionsCustomization();
84
+
method public com.mapbox.androidauto.car.feedback.core.CarFeedbackOptions? getCarFeedbackOptions();
85
+
method public com.mapbox.androidauto.car.feedback.core.CarFeedbackPollProvider? getFeedbackPollProvider();
86
+
method public com.mapbox.androidauto.notification.MapboxCarNotificationOptions? getNotificationOptions();
87
+
method public com.mapbox.androidauto.car.search.CarPlaceSearchOptions? getPlaceSearchOptions();
88
+
method public com.mapbox.androidauto.car.preview.CarRouteOptionsInterceptor? getRouteOptionsInterceptor();
89
+
method public com.mapbox.androidauto.car.navigation.speedlimit.SpeedLimitOptions? getSpeedLimitOptions();
90
+
method public void setCarFeedbackOptions(com.mapbox.androidauto.car.feedback.core.CarFeedbackOptions?);
91
+
method public void setFeedbackPollProvider(com.mapbox.androidauto.car.feedback.core.CarFeedbackPollProvider?);
92
+
method public void setNotificationOptions(com.mapbox.androidauto.notification.MapboxCarNotificationOptions?);
93
+
method public void setPlaceSearchOptions(com.mapbox.androidauto.car.search.CarPlaceSearchOptions?);
94
+
method public void setRouteOptionsInterceptor(com.mapbox.androidauto.car.preview.CarRouteOptionsInterceptor?);
95
+
method public void setSpeedLimitOptions(com.mapbox.androidauto.car.navigation.speedlimit.SpeedLimitOptions?);
96
+
property public final com.mapbox.androidauto.car.feedback.core.CarFeedbackOptions? carFeedbackOptions;
97
+
property public final com.mapbox.androidauto.car.feedback.core.CarFeedbackPollProvider? feedbackPollProvider;
98
+
property public final com.mapbox.androidauto.notification.MapboxCarNotificationOptions? notificationOptions;
99
+
property public final com.mapbox.androidauto.car.search.CarPlaceSearchOptions? placeSearchOptions;
100
+
property public final com.mapbox.androidauto.car.preview.CarRouteOptionsInterceptor? routeOptionsInterceptor;
101
+
property public final com.mapbox.androidauto.car.navigation.speedlimit.SpeedLimitOptions? speedLimitOptions;
@com.mapbox.navigation.base.ExperimentalPreviewMapboxNavigationAPI public final class CarNotificationInterceptor implements com.mapbox.navigation.core.lifecycle.MapboxNavigationObserver {
710
-
ctor public CarNotificationInterceptor(android.content.Context context, Class<? extends androidx.car.app.CarAppService> carAppServiceClass);
727
+
public final class MapboxCarNotification implements com.mapbox.navigation.core.lifecycle.MapboxNavigationObserver {
711
728
method public void onAttached(com.mapbox.navigation.core.MapboxNavigation mapboxNavigation);
712
729
method public void onDetached(com.mapbox.navigation.core.MapboxNavigation mapboxNavigation);
713
730
}
714
731
732
+
public final class MapboxCarNotificationOptions {
733
+
method public Class<? extends androidx.car.app.CarAppService>? getStartAppService();
734
+
method public com.mapbox.androidauto.notification.MapboxCarNotificationOptions.Builder toBuilder();
735
+
property public final Class<? extends androidx.car.app.CarAppService>? startAppService;
736
+
}
737
+
738
+
public static final class MapboxCarNotificationOptions.Builder {
739
+
ctor public MapboxCarNotificationOptions.Builder();
740
+
method public com.mapbox.androidauto.notification.MapboxCarNotificationOptions build();
741
+
method public com.mapbox.androidauto.notification.MapboxCarNotificationOptions.Builder startAppService(Class<? extends androidx.car.app.CarAppService>? startAppService);
0 commit comments