Event(androidJvm)

Generic Event type used to notify an `observer`.

class Event(androidJvm) : Serializable

Constructors

Event
Link copied to clipboard
open fun Event(type: String, data: Value)

Functions

equals
Link copied to clipboard
open fun equals(object: Any): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

data
Link copied to clipboard
private val data: Value
type
Link copied to clipboard
private val type: String

Extensions

getCameraChangedEventData
Link copied to clipboard

Get the parsed event data for camera changed event.

fun Event.getCameraChangedEventData(): CameraChangedEventData
getMapIdleEventData
Link copied to clipboard

Get the parsed event data for map idle event.

fun Event.getMapIdleEventData(): MapIdleEventData
getMapLoadedEventData
Link copied to clipboard

Get the parsed event data for map loaded event.

fun Event.getMapLoadedEventData(): MapLoadedEventData
getMapLoadingErrorEventData
Link copied to clipboard

Get the parsed event data for map loading error event.

getRenderFrameFinishedEventData
Link copied to clipboard

Get the parsed event data for render frame finished event.

getRenderFrameStartedEventData
Link copied to clipboard

Get the parsed event data for render frame started event.

getResourceEventData
Link copied to clipboard

Get the parsed event data for resource-request event.

fun Event.getResourceEventData(): ResourceEventData
getSourceAddedEventData
Link copied to clipboard

Get the parsed event data for source added event.

fun Event.getSourceAddedEventData(): SourceAddedEventData
getSourceDataLoadedEventData
Link copied to clipboard

Get the parsed event data for source data loaded event.

getSourceRemovedEventData
Link copied to clipboard

Get the parsed event data for source removed event.

fun Event.getSourceRemovedEventData(): SourceRemovedEventData
getStyleDataLoadedEventData
Link copied to clipboard

Get the parsed event data for style data loaded event.

getStyleImageMissingEventData
Link copied to clipboard

Get the parsed event data for style missing event.

getStyleImageUnusedEventData
Link copied to clipboard

Get the parsed event data for style image unused event.

getStyleLoadedEventData
Link copied to clipboard

Get the parsed event data for style loaded event.

fun Event.getStyleLoadedEventData(): StyleLoadedEventData