sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.currentlocation / CurrentLocationViewAction

CurrentLocationViewAction

interface CurrentLocationViewAction

To override behavior for click on current location button implement interface.

Functions

isValid

abstract fun isValid(): Boolean

perform

abstract fun perform(actionContext: Context): Unit

Perform action.

Inheritors

CurrentLocationClickAction

open class CurrentLocationClickAction : CurrentLocationViewAction

Class with listener to check if user clicked center on map component.