BaseEvent

enum BaseEvent : Enum<BaseEvent> , MPIEvent

This enum holds the string values of various base events that can be sent to the event bus.

  • Note: Base events are events that are automatically triggered in the webSDK.

Entries

READY
Link copied to clipboard
READY("READY")
event for "READY"
LOAD_VENUE
Link copied to clipboard
LOAD_VENUE("LOAD_VENUE", MPIWebData.Init::class)
event for loading venue
POLYGON_CLICKED
Link copied to clipboard
POLYGON_CLICKED("POLYGON_CLICKED")
event triggered when polygon is clicked
SET_MAP
Link copied to clipboard
SET_MAP("SET_MAP")
event for setting the map
MAP_CHANGED
Link copied to clipboard
MAP_CHANGED("MAP_CHANGED")
event triggered when map is changed
UPDATE_GEOLOCATION
Link copied to clipboard
UPDATE_GEOLOCATION("UPDATE_GEOLOCATION")
event for updating geolocations
FOCUS_ON
Link copied to clipboard
FOCUS_ON("FOCUS_ON")
event for focusOn
SET_POLYGON_COLOR
Link copied to clipboard
SET_POLYGON_COLOR("SET_POLYGON_COLOR")
event for setting color of polygon
SET_BACKGROUND_COLOR
Link copied to clipboard
SET_BACKGROUND_COLOR("SET_BACKGROUND_COLOR")
event for setting background color of the map
GET_CURRENT_MAP
Link copied to clipboard
GET_CURRENT_MAP("GET_CURRENT_MAP")
event for getting the current map
CLEAR_POLYGON_COLOR
Link copied to clipboard
CLEAR_POLYGON_COLOR("CLEAR_POLYGON_COLOR")
event for clearing polygon color
CLEAR_ALL_POLYGON_COLORS
Link copied to clipboard
CLEAR_ALL_POLYGON_COLORS("CLEAR_ALL_POLYGON_COLORS")
event for clearing all of polygons' color
ADD_INTERACTIVE_POLYGON
Link copied to clipboard
ADD_INTERACTIVE_POLYGON("ADD_INTERACTIVE_POLYGON")
event for adding an interactive polygon
REMOVE_INTERACTIVE_POLYGON
Link copied to clipboard
REMOVE_INTERACTIVE_POLYGON("REMOVE_INTERACTIVE_POLYGON")
event for removing an interactive polygon
SET_SAFE_AREA
Link copied to clipboard
SET_SAFE_AREA("SET_SAFE_AREA")
event for setting safe area
LABEL_ALL_LOCATIONS
Link copied to clipboard
LABEL_ALL_LOCATIONS("LABEL_ALL_LOCATIONS")
event for labelling all locations
REMOVE_ALL_LABELS
Link copied to clipboard
REMOVE_ALL_LABELS("REMOVE_ALL_LABELS")
event for removing all labels
LABEL_POLYGON
Link copied to clipboard
LABEL_POLYGON("LABEL_POLYGON")
event for labelling a polygon
ENABLE_BLUE_DOT
Link copied to clipboard
ENABLE_BLUE_DOT("ENABLE_BLUE_DOT")
event for enabling the blue dot
DISABLE_BLUE_DOT
Link copied to clipboard
DISABLE_BLUE_DOT("DISABLE_BLUE_DOT")
event for disabling the blue dot
GET_NEAREST_NODE
Link copied to clipboard
GET_NEAREST_NODE("GET_NEAREST_NODE")
event for getting the nearest node
GET_BLUE_DOT_IS_FOLLOWING
Link copied to clipboard
GET_BLUE_DOT_IS_FOLLOWING("GET_BLUE_DOT_IS_FOLLOWING")
event for getting if blue dot is following
SET_BLUE_DOT_IS_FOLLOWING
Link copied to clipboard
SET_BLUE_DOT_IS_FOLLOWING("SET_BLUE_DOT_IS_FOLLOWING")
event for setting blue dot to be following
GET_DIRECTIONS
Link copied to clipboard
GET_DIRECTIONS("GET_DIRECTIONS")
event for getting directions
DESTROY
Link copied to clipboard
DESTROY("DESTROY")
event for destroying
GET_VENUE
Link copied to clipboard
GET_VENUE("GET_VENUE")
event for getting venue
DATA_LOADED
Link copied to clipboard
DATA_LOADED("DATA_LOADED", MPIWebData.DataLoaded::class)
event triggered when data is loaded
FIRST_MAP_LOADED
Link copied to clipboard
FIRST_MAP_LOADED("FIRST_MAP_LOADED")
event triggered when first map is loaded
CREATE_MARKER
Link copied to clipboard
CREATE_MARKER("CREATE_MARKER")
event for creating markers
REMOVE_MARKER
Link copied to clipboard
REMOVE_MARKER("REMOVE_MARKER")
event for "REMOVE_MARKER"
MARKER_MOVE
Link copied to clipboard
MARKER_MOVE("MARKER_MOVE")
event triggered when a marker moves
OVERRIDE_LOCATION
Link copied to clipboard
OVERRIDE_LOCATION("OVERRIDE_LOCATION")
event for overriding locations
BLUE_DOT_UPDATED
Link copied to clipboard
BLUE_DOT_UPDATED("BLUE_DOT_UPDATED")
  • warning:"This enum is deprecated. Use BLUEDOT_POSITION_UPDATE and BLUEDOT_STATE_CHANGE instead"

BLUEDOT_POSITION_UPDATE
Link copied to clipboard
BLUEDOT_POSITION_UPDATE("BLUEDOT_POSITION_UPDATE")
event triggered when blue dot position updated
BLUEDOT_STATE_CHANGE
Link copied to clipboard
BLUEDOT_STATE_CHANGE("BLUEDOT_STATE_CHANGE")
event triggered when blue dot state changed
NOTHING_CLICKED
Link copied to clipboard
NOTHING_CLICKED("NOTHING_CLICKED")
event triggered when nothing is clicked
DRAW_PATH
Link copied to clipboard
DRAW_PATH("DRAW_PATH")
event for drawing a path
REMOVE_ALL_PATHS
Link copied to clipboard
REMOVE_ALL_PATHS("REMOVE_ALL_PATHS")
event for removing all paths
DRAW_JOURNEY
Link copied to clipboard
DRAW_JOURNEY("DRAW_JOURNEY")
event for drawing a journey
CLEAR_JOURNEY
Link copied to clipboard
CLEAR_JOURNEY("CLEAR_JOURNEY")
event for clearing journeys
SET_JOURNEY_STEP
Link copied to clipboard
SET_JOURNEY_STEP("SET_JOURNEY_STEP")
event for setting the current step in the journey
GET_NEAREST_NODE_BY_SCREEN_COORDINATES
Link copied to clipboard
GET_NEAREST_NODE_BY_SCREEN_COORDINATES("GET_NEAREST_NODE_BY_SCREEN_COORDINATES")
event for getting the nearest node using screen coordinates
SET_STATE
Link copied to clipboard
SET_STATE("SET_STATE")
event for setting the state of the map
STATE_CHANGED
Link copied to clipboard
STATE_CHANGED("STATE_CHANGED")
event triggered when state of the map is changed
SHOW_VENUE
Link copied to clipboard
SHOW_VENUE("SHOW_VENUE")
event for showing venue
ROTATION_CHANGED
Link copied to clipboard
ROTATION_CHANGED("ROTATION_CHANGED")
event for changing rotation
TILT_CHANGED
Link copied to clipboard
TILT_CHANGED("TILT_CHANGED")
event for changing tilt
SET_ROTATION
Link copied to clipboard
SET_ROTATION("SET_ROTATION")
event for setting rotation
SET_TILT
Link copied to clipboard
SET_TILT("SET_TILT")
event for setting tilt

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: BaseEvent): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
fun finalize()
getDeclaringClass
Link copied to clipboard
fun getDeclaringClass(): Class<BaseEvent>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

eventName
Link copied to clipboard
open override val eventName: String
Name of the MPIEvent
expectedClass
Link copied to clipboard
open override val expectedClass: KClass<*>? = null
  • Note: 1. Base Event 2. Bridge Event 3. Navigator

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int