This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose indicator position change listener
- Loading branch information
Showing
5 changed files
with
163 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...idSDK/src/main/java/com/mapbox/mapboxsdk/location/OnIndicatorPositionChangedListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.mapbox.mapboxsdk.location; | ||
|
||
import androidx.annotation.NonNull; | ||
import com.mapbox.geojson.Point; | ||
|
||
/** | ||
* Listener that gets invoked when indicator position changes. | ||
*/ | ||
public interface OnIndicatorPositionChangedListener { | ||
/** | ||
* This method is called on each position change of the location indicator, including each animation frame. | ||
* | ||
* @param point indicator's position | ||
*/ | ||
void onIndicatorPositionChanged(@NonNull Point point); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.