public class CurrentLocationClickAction
extends java.lang.Object
implements com.tomtom.online.sdk.map.ui.currentlocation.CurrentLocationViewAction
| Constructor and Description |
|---|
CurrentLocationClickAction(com.tomtom.online.sdk.map.ui.ClickableMapComponent.MapComponentClickCallback clickCallback)
Constructor with
ClickableMapComponent.MapComponentClickCallback which is used for listening
if user clicked center on map component so proper action could be performed. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid() |
void |
perform(android.content.Context actionContext) |
public CurrentLocationClickAction(com.tomtom.online.sdk.map.ui.ClickableMapComponent.MapComponentClickCallback clickCallback)
ClickableMapComponent.MapComponentClickCallback which is used for listening
if user clicked center on map component so proper action could be performed.clickCallback - listener for center on map component clicks.public boolean isValid()
isValid in interface com.tomtom.online.sdk.map.ui.currentlocation.CurrentLocationViewActionpublic void perform(@NonNull
android.content.Context actionContext)
perform in interface com.tomtom.online.sdk.map.ui.currentlocation.CurrentLocationViewAction