ChoiceCellBooleanSdlArtworkSdlArtworkStringStringString[Array.<String>, null]ChoiceCellChoiceCellChoiceCellChoiceCellChoiceCellChoiceCellChoiceCellCreates a deep copy of the object
Kind: Instance method of ChoiceCell
Returns: ChoiceCell - A deep copy of the object
BooleanChecks 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 |
SdlArtworkGet the state artwork
Kind: Instance method of ChoiceCell
Returns: SdlArtwork - The SdlArtwork
SdlArtworkGet the state secondaryArtwork
Kind: Instance method of ChoiceCell
Returns: SdlArtwork - The SdlArtwork
StringGet the state secondaryText
Kind: Instance method of ChoiceCell
Returns: String - The secondary text of the cell
StringGet the state tertiaryText
Kind: Instance method of ChoiceCell
Returns: String - The tertiary text of the cell
StringGet 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
ChoiceCellSet 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 |
ChoiceCellSet 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 |
ChoiceCellSet 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 |
ChoiceCellSet 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 |
ChoiceCellSet 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 |
ChoiceCellSet 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 |