MapController


@RequiresCarApi(value = 5)
@CarProtocol
public final class MapController


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

Summary

Nested types

public final class MapController.Builder

A builder of MapController.

Public methods

boolean
@Nullable ActionStrip

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

@Nullable PanModeDelegate

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

int

Public methods

equals

public boolean equals(@Nullable Object other)

getMapActionStrip

Added in 1.2.0
public @Nullable ActionStrip getMapActionStrip()

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
public @Nullable PanModeDelegate getPanModeDelegate()

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

hashCode

public int hashCode()