UiState

public interface UiState
Known Indirect Subclasses

Base interface for UI state properties provided to the layout delegate which are common to all navigation states.

Public Method Summary

abstract View
getGoogleLogo()
Required UI element that provides both the Google logo and the recenter button.
abstract View
getViewport()
Required UI element that defines the outer bounds of the map's visible area.
abstract boolean
isWideMode()
Returns true if currently in wide mode.

Public Methods

Required UI element that provides both the Google logo and the recenter button. You must add this element to your layout for all navigation states. This method returns the same UI element in all states.

public abstract View getViewport ()

Required UI element that defines the outer bounds of the map's visible area. You must add this element to your layout for all navigation states. This method returns the same UI element in all states.

public abstract boolean isWideMode ()

Returns true if currently in wide mode. In wide mode, elements such as the turn card and ETA card generally take up half the width of the map. Refer to the documentation on specific elements for more details about how each behaves in wide mode.