ChoiceCell
Boolean
SdlArtwork
SdlArtwork
String
String
String
[Array.<String>, null]
ChoiceCell
ChoiceCell
ChoiceCell
ChoiceCell
ChoiceCell
ChoiceCell
ChoiceCell
Creates a deep copy of the object
Kind: Instance method of ChoiceCell
Returns: ChoiceCell
- A deep copy of the object
Boolean
Checks whether two ChoiceCells can be considered equivalent
Kind: Instance method of ChoiceCell
Returns: Boolean
- Whether the objects are the same or not
Param | Type | Description |
---|---|---|
other | ChoiceCell |
The object to compare |
SdlArtwork
Get the state artwork
Kind: Instance method of ChoiceCell
Returns: SdlArtwork
- The SdlArtwork
SdlArtwork
Get the state secondaryArtwork
Kind: Instance method of ChoiceCell
Returns: SdlArtwork
- The SdlArtwork
String
Get the state secondaryText
Kind: Instance method of ChoiceCell
Returns: String
- The secondary text of the cell
String
Get the state tertiaryText
Kind: Instance method of ChoiceCell
Returns: String
- The tertiary text of the cell
String
Get the state text
Kind: Instance method of ChoiceCell
Returns: String
- The primary text of the cell
[Array.<String>, null]
Get the state voiceCommands
Kind: Instance method of ChoiceCell
Returns: [Array.<String>, null]
- The list of voice command strings
ChoiceCell
Set the state artwork Maps to Choice.image. Optional image for the cell. This will be uploaded before the cell is used when the cell is preloaded or presented for the first time.
Kind: Instance method of ChoiceCell
Returns: ChoiceCell
- A reference to this instance to support method chaining
Param | Type | Description |
---|---|---|
artwork | SdlArtwork |
The SdlArtwork |
ChoiceCell
Set the state secondaryArtwork Maps to Choice.secondaryImage. Optional secondary image for the cell. This will be uploaded before the cell is used when the cell is preloaded or presented for the first time.
Kind: Instance method of ChoiceCell
Returns: ChoiceCell
- A reference to this instance to support method chaining
Param | Type | Description |
---|---|---|
secondaryArtwork | SdlArtwork |
The SdlArtwork |
ChoiceCell
Set the state secondaryText Maps to Choice.secondaryText. Optional secondary text of the cell, if available. Duplicates within an `ChoiceSet` are permitted.
Kind: Instance method of ChoiceCell
Returns: ChoiceCell
- A reference to this instance to support method chaining
Param | Type | Description |
---|---|---|
secondaryText | String |
The secondary text of the cell |
ChoiceCell
Set the state tertiaryText Maps to Choice.tertiaryText. Optional tertiary text of the cell, if available. Duplicates within an `ChoiceSet` are permitted.
Kind: Instance method of ChoiceCell
Returns: ChoiceCell
- A reference to this instance to support method chaining
Param | Type | Description |
---|---|---|
tertiaryText | String |
The tertiary text of the cell |
ChoiceCell
Set the state text Maps to Choice.menuName. The primary text of the cell. Duplicates within an `ChoiceSet` are not permitted and will result in the ChoiceSet failing to initialize.
Kind: Instance method of ChoiceCell
Returns: ChoiceCell
- A reference to this instance to support method chaining
Param | Type | Description |
---|---|---|
text | String |
The primary text of the cell |
ChoiceCell
Set the state voiceCommands Maps to Choice.vrCommands. Optional voice commands the user can speak to activate the cell. If not set and the head unit requires it, this will be set to the number in the list that this item appears. However, this would be a very poor experience for a user if the choice set is presented as a voice only interaction or both interaction mode. Therefore, consider not setting this only when you know the choice set will be presented as a touch only interaction.
Kind: Instance method of ChoiceCell
Returns: ChoiceCell
- A reference to this instance to support method chaining
Param | Type | Description |
---|---|---|
voiceCommands | Array.<String> |
The list of voice command strings |