Skip to content

Commit 5bcfd6a

Browse files
natiginfogithub-actions[bot]
authored andcommitted
[maps-android] tailwork for indoor selector plugin (#8857)
GitOrigin-RevId: 91c2598fe02f5910013f6e77903ae26c7a5351f4
1 parent 07a7b97 commit 5bcfd6a

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

plugin-indoorselector/src/main/java/com/mapbox/maps/plugin/indoorselector/generated/IndoorSelectorAttributeParser.kt

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk-base/api/Release/metalava.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2687,10 +2687,10 @@ package com.mapbox.maps.plugin.gestures.generated {
26872687
package com.mapbox.maps.plugin.indoorselector {
26882688

26892689
@com.mapbox.maps.MapboxExperimental public interface IndoorSelectorPlugin extends com.mapbox.maps.plugin.ViewPlugin com.mapbox.maps.plugin.indoorselector.generated.IndoorSelectorSettingsInterface com.mapbox.maps.plugin.LifecyclePlugin {
2690-
method public void addOnFloorSelectedListener(com.mapbox.maps.plugin.indoorselector.OnFloorSelectedListener listener);
2691-
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public void onFloorSelected(String floorId);
2692-
method public void removeOnFloorSelectedListener(com.mapbox.maps.plugin.indoorselector.OnFloorSelectedListener listener);
2693-
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) public void updateFloors(java.util.List<com.mapbox.maps.IndoorFloor> floors, String? selectedFloorId);
2690+
method @com.mapbox.maps.MapboxExperimental public void addOnFloorSelectedListener(com.mapbox.maps.plugin.indoorselector.OnFloorSelectedListener listener);
2691+
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) @com.mapbox.maps.MapboxExperimental public void onFloorSelected(String floorId);
2692+
method @com.mapbox.maps.MapboxExperimental public void removeOnFloorSelectedListener(com.mapbox.maps.plugin.indoorselector.OnFloorSelectedListener listener);
2693+
method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY) @com.mapbox.maps.MapboxExperimental public void updateFloors(java.util.List<com.mapbox.maps.IndoorFloor> floors, String? selectedFloorId);
26942694
}
26952695

26962696
@com.mapbox.maps.MapboxExperimental public interface IndoorSelectorView {

sdk-base/src/main/java/com/mapbox/maps/plugin/indoorselector/IndoorSelectorPlugin.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ interface IndoorSelectorPlugin : ViewPlugin, LifecyclePlugin, IndoorSelectorSett
3333
* @param floors List of available floors
3434
* @param selectedFloorId The ID of the currently selected floor (null if no floor is selected)
3535
*/
36-
@OptIn(com.mapbox.annotation.MapboxExperimental::class)
36+
@MapboxExperimental
3737
@RestrictTo(RestrictTo.Scope.LIBRARY)
3838
fun updateFloors(floors: List<IndoorFloor>, selectedFloorId: String?)
3939

@@ -42,20 +42,23 @@ interface IndoorSelectorPlugin : ViewPlugin, LifecyclePlugin, IndoorSelectorSett
4242
*
4343
* @param listener The listener to add
4444
*/
45+
@MapboxExperimental
4546
fun addOnFloorSelectedListener(listener: OnFloorSelectedListener)
4647

4748
/**
4849
* Remove a previously added floor selection listener.
4950
*
5051
* @param listener The listener to remove
5152
*/
53+
@MapboxExperimental
5254
fun removeOnFloorSelectedListener(listener: OnFloorSelectedListener)
5355

5456
/**
5557
* Called when a floor is selected by the user.
5658
*
5759
* @param floorId The ID of the selected floor
5860
*/
61+
@MapboxExperimental
5962
@RestrictTo(RestrictTo.Scope.LIBRARY)
6063
fun onFloorSelected(floorId: String)
6164
}

0 commit comments

Comments
 (0)