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

Show Class Reference

Constructors

Instance Methods

Constructors

new Show(parameters)

Initalizes an instance of Show.

Instance Methods

show.getAlignment() ⇒ TextAlignment

Get the Alignment

Kind: Instance method of Show
Returns: TextAlignment - the KEY_ALIGNMENT value

show.getCustomPresets() ⇒ Array.<String>

Get the CustomPresets

Kind: Instance method of Show
Returns: Array.<String> - the KEY_CUSTOM_PRESETS value

show.getGraphic() ⇒ Image

Get the Graphic

Kind: Instance method of Show
Returns: Image - the KEY_GRAPHIC value

show.getMainField1() ⇒ String

Get the MainField1

Kind: Instance method of Show
Returns: String - the KEY_MAIN_FIELD_1 value

show.getMainField2() ⇒ String

Get the MainField2

Kind: Instance method of Show
Returns: String - the KEY_MAIN_FIELD_2 value

show.getMainField3() ⇒ String

Get the MainField3

Kind: Instance method of Show
Returns: String - the KEY_MAIN_FIELD_3 value

show.getMainField4() ⇒ String

Get the MainField4

Kind: Instance method of Show
Returns: String - the KEY_MAIN_FIELD_4 value

show.getMediaClock() ⇒ String

Get the MediaClock

Kind: Instance method of Show
Returns: String - the KEY_MEDIA_CLOCK value

show.getMediaTrack() ⇒ String

Get the MediaTrack

Kind: Instance method of Show
Returns: String - the KEY_MEDIA_TRACK value

show.getMetadataTags() ⇒ MetadataTags

Get the MetadataTags

Kind: Instance method of Show
Returns: MetadataTags - the KEY_METADATA_TAGS value

show.getSecondaryGraphic() ⇒ Image

Get the SecondaryGraphic

Kind: Instance method of Show
Returns: Image - the KEY_SECONDARY_GRAPHIC value

show.getSoftButtons() ⇒ Array.<SoftButton>

Get the SoftButtons

Kind: Instance method of Show
Returns: Array.<SoftButton> - the KEY_SOFT_BUTTONS value

show.getStatusBar() ⇒ String

Get the StatusBar

Kind: Instance method of Show
Returns: String - the KEY_STATUS_BAR value

show.getTemplateConfiguration() ⇒ TemplateConfiguration

Get the TemplateConfiguration

Kind: Instance method of Show
Returns: TemplateConfiguration - the KEY_TEMPLATE_CONFIGURATION value

show.getTemplateTitle() ⇒ String

Get the TemplateTitle

Kind: Instance method of Show
Returns: String - the KEY_TEMPLATE_TITLE value

show.getWindowID() ⇒ Number

Get the WindowID

Kind: Instance method of Show
Returns: Number - the KEY_WINDOW_ID value

show.setAlignment(alignment) ⇒ Show

Set the Alignment

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

ParamTypeDescription
alignment TextAlignment Specifies how mainField1 and mainField2 texts should be aligned on display. If - The desired Alignment. omitted, texts will be centered.

show.setCustomPresets(presets) ⇒ Show

Set the CustomPresets

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

ParamTypeDescription
presets Array.<String> App labeled on-screen presets (i.e. on-screen media presets or dynamic search - The desired CustomPresets. suggestions). If omitted on supported displays, the presets will be shown as not defined.

show.setGraphic(graphic) ⇒ Show

Set the Graphic

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

ParamTypeDescription
graphic Image Image struct determining whether static or dynamic image to display in app. If omitted - The desired Graphic. on supported displays, the displayed graphic shall not change.

show.setMainField1(field1) ⇒ Show

Set the MainField1

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

ParamTypeDescription
field1 String The text that should be displayed in a single or upper display line. If this text is not - The desired MainField1. set, the text of mainField1 stays unchanged. If this text is empty "", the field will be cleared.

show.setMainField2(field2) ⇒ Show

Set the MainField2

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

ParamTypeDescription
field2 String The text that should be displayed on the second display line. If this text is not set, - The desired MainField2. the text of mainField2 stays unchanged. If this text is empty "", the field will be cleared.

show.setMainField3(field3) ⇒ Show

Set the MainField3

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

ParamTypeDescription
field3 String The text that should be displayed on the second "page" first display line. If this text - The desired MainField3. is not set, the text of mainField3 stays unchanged. If this text is empty "", the field will be cleared.

show.setMainField4(field4) ⇒ Show

Set the MainField4

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

ParamTypeDescription
field4 String The text that should be displayed on the second "page" second display line. If this text - The desired MainField4. is not set, the text of mainField4 stays unchanged. If this text is empty "", the field will be cleared.

show.setMediaClock(clock) ⇒ Show

Set the MediaClock

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

ParamTypeDescription
clock String Text value for MediaClock field. Has to be properly formatted by Mobile App according to - The desired MediaClock. the module's capabilities. If this text is set, any automatic media clock updates previously set with SetMediaClockTimer will be stopped.

show.setMediaTrack(track) ⇒ Show

Set the MediaTrack

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

ParamTypeDescription
track String The text that should be displayed in the track field. If this text is not set, the text - The desired MediaTrack. of mediaTrack stays unchanged. If this text is empty "", the field will be cleared.

show.setMetadataTags(tags) ⇒ Show

Set the MetadataTags

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

ParamTypeDescription
tags MetadataTags App defined metadata information. See MetadataStruct. Uses mainField1, mainField2, - The desired MetadataTags. mainField3, mainField4. If omitted on supported displays, the currently set metadata tags will not change. If any text field contains no tags or the none tag, the metadata tag for that textfield should be removed.

show.setSecondaryGraphic(graphic) ⇒ Show

Set the SecondaryGraphic

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

ParamTypeDescription
graphic Image Image struct determining whether static or dynamic secondary image to display in app. If - The desired SecondaryGraphic. omitted on supported displays, the displayed secondary graphic shall not change.

show.setSoftButtons(buttons) ⇒ Show

Set the SoftButtons

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

ParamTypeDescription
buttons Array.<SoftButton> App defined SoftButtons. If omitted on supported displays, the currently - The desired SoftButtons. displayed SoftButton values will not change.

show.setStatusBar(bar) ⇒ Show

Set the StatusBar

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

ParamTypeDescription
bar String Requires investigation regarding the nav display capabilities. Potentially lower - The desired StatusBar. lowerStatusBar, upperStatusBar, titleBar, etc.

show.setTemplateConfiguration(configuration) ⇒ Show

Set the TemplateConfiguration

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

ParamTypeDescription
configuration TemplateConfiguration Used to set an alternate template layout to a window. - The desired TemplateConfiguration.

show.setTemplateTitle(title) ⇒ Show

Set the TemplateTitle

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

ParamTypeDescription
title String The title of the new template that will be displayed. How this will be displayed is - The desired TemplateTitle. dependent on the OEM design and implementation of the template.

show.setWindowID(id) ⇒ Show

Set the WindowID

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

ParamTypeDescription
id Number This is the unique ID assigned to the window that this RPC is intended. If this param is not - The desired WindowID. included, it will be assumed that this request is specifically for the main window on the main display. See PredefinedWindows enum.
View on GitHub.com
Previous Section Next Section