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
@com.mapbox.maps.MapboxExperimental public final class CustomJourneyLocationProvider implements com.mapbox.maps.plugin.locationcomponent.LocationProvider {
5
+
ctor public CustomJourneyLocationProvider();
6
+
method public void loadJourney(com.mapbox.maps.plugin.locationcomponent.Journey journey);
7
+
method public void registerLocationConsumer(com.mapbox.maps.plugin.locationcomponent.LocationConsumer locationConsumer);
8
+
method public void unRegisterLocationConsumer(com.mapbox.maps.plugin.locationcomponent.LocationConsumer locationConsumer);
9
+
}
10
+
4
11
public final class DefaultLocationProvider implements com.mapbox.maps.plugin.locationcomponent.LocationProvider {
5
12
ctor public DefaultLocationProvider(android.content.Context context);
6
13
method public void addOnCompassCalibrationListener(com.mapbox.maps.plugin.locationcomponent.LocationCompassCalibrationListener listener);
field public static final long TRANSITION_ANIMATION_DURATION_MS = 750L; // 0x2eeL
36
64
}
37
65
66
+
public final class LocationComponentInitOptions {
67
+
method public String! getBearingIconImageId();
68
+
method public String! getPuck2DLayerId();
69
+
method public String! getPuck3DLayerId();
70
+
method public String! getPuck3DSourceId();
71
+
method public String! getShadowIconImageId();
72
+
method public String! getTopIconImageId();
73
+
property public final String! bearingIconImageId;
74
+
property public final String! puck2DLayerId;
75
+
property public final String! puck3DLayerId;
76
+
property public final String! puck3DSourceId;
77
+
property public final String! shadowIconImageId;
78
+
property public final String! topIconImageId;
79
+
}
80
+
81
+
public static final class LocationComponentInitOptions.Builder {
82
+
ctor public LocationComponentInitOptions.Builder();
83
+
method public com.mapbox.maps.plugin.locationcomponent.LocationComponentInitOptions build();
84
+
method public String getBearingIconImageId();
85
+
method public String getPuck2DLayerId();
86
+
method public String getPuck3DLayerId();
87
+
method public String getPuck3DSourceId();
88
+
method public String getShadowIconImageId();
89
+
method public String getTopIconImageId();
90
+
method public com.mapbox.maps.plugin.locationcomponent.LocationComponentInitOptions.Builder setBearingIconImageId(String bearingIconImageId);
91
+
method public com.mapbox.maps.plugin.locationcomponent.LocationComponentInitOptions.Builder setPuck2DLayerId(String puck2DLayerId);
92
+
method public com.mapbox.maps.plugin.locationcomponent.LocationComponentInitOptions.Builder setPuck3DLayerId(String puck3DLayerId);
93
+
method public com.mapbox.maps.plugin.locationcomponent.LocationComponentInitOptions.Builder setPuck3DSourceId(String puck3DSourceId);
94
+
method public com.mapbox.maps.plugin.locationcomponent.LocationComponentInitOptions.Builder setShadowIconImageId(String shadowIconImageId);
95
+
method public com.mapbox.maps.plugin.locationcomponent.LocationComponentInitOptions.Builder setTopIconImageId(String topIconImageId);
96
+
property public final String bearingIconImageId;
97
+
property public final String puck2DLayerId;
98
+
property public final String puck3DLayerId;
99
+
property public final String puck3DSourceId;
100
+
property public final String shadowIconImageId;
101
+
property public final String topIconImageId;
102
+
}
103
+
104
+
public final class LocationComponentInitOptionsKt {
105
+
}
106
+
38
107
public final class LocationComponentPluginImpl extends com.mapbox.maps.plugin.locationcomponent.generated.LocationComponentSettingsBase2 implements com.mapbox.maps.plugin.locationcomponent.LocationComponentPlugin2 com.mapbox.maps.plugin.locationcomponent.LocationConsumer2 {
39
-
ctor public LocationComponentPluginImpl();
108
+
ctor public LocationComponentPluginImpl(com.mapbox.maps.plugin.locationcomponent.LocationComponentInitOptions locationComponentInitOptions = LocationComponentInitOptions.<init>().build());
40
109
method public void addOnIndicatorAccuracyRadiusChangedListener(com.mapbox.maps.plugin.locationcomponent.OnIndicatorAccuracyRadiusChangedListener listener);
41
110
method public void addOnIndicatorBearingChangedListener(com.mapbox.maps.plugin.locationcomponent.OnIndicatorBearingChangedListener listener);
42
111
method public void addOnIndicatorPositionChangedListener(com.mapbox.maps.plugin.locationcomponent.OnIndicatorPositionChangedListener listener);
method public com.mapbox.maps.plugin.locationcomponent.LocationComponentInitOptions getLocationComponentInitOptions();
48
118
method public com.mapbox.maps.plugin.locationcomponent.LocationProvider? getLocationProvider();
49
119
method public void isLocatedAt(com.mapbox.geojson.Point point, com.mapbox.maps.plugin.locationcomponent.PuckLocatedAtPointListener listener);
50
120
method public void onAccuracyRadiusUpdated(double[] radius, kotlin.jvm.functions.Function1<? super android.animation.ValueAnimator,kotlin.Unit>? options);
Copy file name to clipboardexpand all lines: plugin-locationcomponent/api/plugin-locationcomponent.api
+70
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
public final class com/mapbox/maps/plugin/locationcomponent/CustomJourneyLocationProvider : com/mapbox/maps/plugin/locationcomponent/LocationProvider {
2
+
public fun <init> ()V
3
+
public final fun loadJourney (Lcom/mapbox/maps/plugin/locationcomponent/Journey;)V
4
+
public fun registerLocationConsumer (Lcom/mapbox/maps/plugin/locationcomponent/LocationConsumer;)V
5
+
public fun unRegisterLocationConsumer (Lcom/mapbox/maps/plugin/locationcomponent/LocationConsumer;)V
6
+
}
7
+
1
8
public final class com/mapbox/maps/plugin/locationcomponent/DefaultLocationProvider : com/mapbox/maps/plugin/locationcomponent/LocationProvider {
2
9
public fun <init> (Landroid/content/Context;)V
3
10
public final fun addOnCompassCalibrationListener (Lcom/mapbox/maps/plugin/locationcomponent/LocationCompassCalibrationListener;)V
@@ -7,6 +14,26 @@ public final class com/mapbox/maps/plugin/locationcomponent/DefaultLocationProvi
7
14
public final fun updatePuckBearingSource (Lcom/mapbox/maps/plugin/PuckBearingSource;)V
8
15
}
9
16
17
+
public final class com/mapbox/maps/plugin/locationcomponent/Journey {
18
+
public fun <init> ()V
19
+
public fun <init> (DD)V
20
+
public synthetic fun <init> (DDILkotlin/jvm/internal/DefaultConstructorMarker;)V
21
+
public final fun getAngularSpeed ()D
22
+
public final fun getRemainingLocationsInQueue ()Ljava/util/List;
23
+
public final fun getSpeed ()D
24
+
public final fun observeJourneyUpdates (Lcom/mapbox/maps/plugin/locationcomponent/JourneyDataObserver;)V
25
+
public final fun pause ()V
26
+
public final fun queueLocationUpdate (Lcom/mapbox/geojson/Point;)V
27
+
public final fun queueLocationUpdates (Ljava/util/List;)V
28
+
public final fun restart ()V
29
+
public final fun resume ()V
30
+
public final fun start ()V
31
+
}
32
+
33
+
public abstract interface class com/mapbox/maps/plugin/locationcomponent/JourneyDataObserver {
34
+
public abstract fun onNewData (Lcom/mapbox/geojson/Point;DJJ)Z
35
+
}
36
+
10
37
public abstract interface class com/mapbox/maps/plugin/locationcomponent/LocationCompassCalibrationListener {
11
38
public abstract fun onCompassCalibrationNeeded ()V
12
39
}
@@ -32,13 +59,56 @@ public final class com/mapbox/maps/plugin/locationcomponent/LocationComponentCon
32
59
public static final field TRANSITION_ANIMATION_DURATION_MS J
33
60
}
34
61
62
+
public final class com/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions {
63
+
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
64
+
public fun equals (Ljava/lang/Object;)Z
65
+
public final fun getBearingIconImageId ()Ljava/lang/String;
66
+
public final fun getPuck2DLayerId ()Ljava/lang/String;
67
+
public final fun getPuck3DLayerId ()Ljava/lang/String;
68
+
public final fun getPuck3DSourceId ()Ljava/lang/String;
69
+
public final fun getShadowIconImageId ()Ljava/lang/String;
70
+
public final fun getTopIconImageId ()Ljava/lang/String;
71
+
public fun hashCode ()I
72
+
public fun toString ()Ljava/lang/String;
73
+
}
74
+
75
+
public final class com/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions$Builder {
76
+
public fun <init> ()V
77
+
public final fun build ()Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions;
78
+
public final fun getBearingIconImageId ()Ljava/lang/String;
79
+
public final fun getPuck2DLayerId ()Ljava/lang/String;
80
+
public final fun getPuck3DLayerId ()Ljava/lang/String;
81
+
public final fun getPuck3DSourceId ()Ljava/lang/String;
82
+
public final fun getShadowIconImageId ()Ljava/lang/String;
83
+
public final fun getTopIconImageId ()Ljava/lang/String;
84
+
public final fun setBearingIconImageId (Ljava/lang/String;)Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions$Builder;
85
+
public final synthetic fun setBearingIconImageId (Ljava/lang/String;)V
86
+
public final fun setPuck2DLayerId (Ljava/lang/String;)Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions$Builder;
87
+
public final synthetic fun setPuck2DLayerId (Ljava/lang/String;)V
88
+
public final fun setPuck3DLayerId (Ljava/lang/String;)Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions$Builder;
89
+
public final synthetic fun setPuck3DLayerId (Ljava/lang/String;)V
90
+
public final fun setPuck3DSourceId (Ljava/lang/String;)Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions$Builder;
91
+
public final synthetic fun setPuck3DSourceId (Ljava/lang/String;)V
92
+
public final fun setShadowIconImageId (Ljava/lang/String;)Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions$Builder;
93
+
public final synthetic fun setShadowIconImageId (Ljava/lang/String;)V
94
+
public final fun setTopIconImageId (Ljava/lang/String;)Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions$Builder;
95
+
public final synthetic fun setTopIconImageId (Ljava/lang/String;)V
96
+
}
97
+
98
+
public final class com/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptionsKt {
99
+
public static final synthetic fun LocationComponentInitOptions (Lkotlin/jvm/functions/Function1;)Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions;
100
+
}
101
+
35
102
public final class com/mapbox/maps/plugin/locationcomponent/LocationComponentPluginImpl : com/mapbox/maps/plugin/locationcomponent/generated/LocationComponentSettingsBase2, com/mapbox/maps/plugin/locationcomponent/LocationComponentPlugin2, com/mapbox/maps/plugin/locationcomponent/LocationConsumer2 {
36
103
public fun <init> ()V
104
+
public fun <init> (Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions;)V
105
+
public synthetic fun <init> (Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
37
106
public fun addOnIndicatorAccuracyRadiusChangedListener (Lcom/mapbox/maps/plugin/locationcomponent/OnIndicatorAccuracyRadiusChangedListener;)V
38
107
public fun addOnIndicatorBearingChangedListener (Lcom/mapbox/maps/plugin/locationcomponent/OnIndicatorBearingChangedListener;)V
39
108
public fun addOnIndicatorPositionChangedListener (Lcom/mapbox/maps/plugin/locationcomponent/OnIndicatorPositionChangedListener;)V
40
109
public fun bind (Landroid/content/Context;Landroid/util/AttributeSet;F)V
41
110
public fun cleanup ()V
111
+
public final fun getLocationComponentInitOptions ()Lcom/mapbox/maps/plugin/locationcomponent/LocationComponentInitOptions;
42
112
public fun getLocationProvider ()Lcom/mapbox/maps/plugin/locationcomponent/LocationProvider;
43
113
public fun initialize ()V
44
114
public fun isLocatedAt (Lcom/mapbox/geojson/Point;Lcom/mapbox/maps/plugin/locationcomponent/PuckLocatedAtPointListener;)V
0 commit comments