MapController

@RequiresCarApi(value = 5)
@CarProtocol
class MapController


A component that holds onto controls associated with an app-provided provided map tile.

Summary

Nested types

A builder of MapController.

Public functions

Boolean
equals(other: Any?)
ActionStrip?

Returns the map ActionStrip for this component (which will be shown on the active template) or null if not set.

PanModeDelegate?

Returns PanModeDelegate that should be called when the user interacts with pan mode on the active template.

Int

Public functions

equals

Added in 1.4.0-rc02
fun equals(other: Any?): Boolean

getMapActionStrip

Added in 1.2.0
fun getMapActionStrip(): ActionStrip?

Returns the map ActionStrip for this component (which will be shown on the active template) or null if not set.

getPanModeDelegate

Added in 1.2.0
fun getPanModeDelegate(): PanModeDelegate?

Returns PanModeDelegate that should be called when the user interacts with pan mode on the active template.

hashCode

Added in 1.4.0-rc02
fun hashCode(): Int