Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Turn

Turn Class Reference

Constructors

Instance Methods

Constructors

new Turn(parameters)

Initalizes an instance of Turn.

Instance Methods

turn.getNavigationText() ⇒ String

Get the NavigationText

Kind: Instance method of Turn
Returns: String - the KEY_NAVIGATION_TEXT value

turn.getTurnIcon() ⇒ Image

Get the TurnIcon

Kind: Instance method of Turn
Returns: Image - the KEY_TURN_ICON value

turn.setNavigationText(text) ⇒ Turn

Set the NavigationText

Kind: Instance method of Turn
Returns: Turn - The class instance for method chaining.

ParamTypeDescription
text String Individual turn text. Must provide at least text or icon for a given turn. - The desired NavigationText.

turn.setTurnIcon(icon) ⇒ Turn

Set the TurnIcon

Kind: Instance method of Turn
Returns: Turn - The class instance for method chaining.

ParamTypeDescription
icon Image Individual turn icon. Must provide at least text or icon for a given turn. - The desired TurnIcon.
View on GitHub.com
Previous Section Next Section