Initialize the cell with text and nothing else.
public ChoiceCell(String text)
Initialize the cell with text, optional artwork, and optional voice commands
public ChoiceCell(String text,java.util.List<java.lang.String> voiceCommands,SdlArtwork artwork)
Initialize the cell with all optional items
public ChoiceCell(String text,String secondaryText,String tertiaryText,java.util.List<java.lang.String> voiceCommands,SdlArtwork artwork,SdlArtwork secondaryArtwork)
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.
public java.lang.String getText()
Maps to Choice.secondaryText. Optional secondary text of the cell, if available. Duplicates within an `ChoiceSet` are permitted.
public java.lang.String getSecondaryText()
Maps to Choice.tertiaryText. Optional tertiary text of the cell, if available. Duplicates within an `ChoiceSet` are permitted.
public java.lang.String getTertiaryText()
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.
public java.util.List getVoiceCommands()
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.
public SdlArtwork getArtwork()
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.
public SdlArtwork getSecondaryArtwork()
public int hashCode()
Uses our custom hashCode for ChoiceCell objects
public boolean equals(Object o)
public java.lang.String toString()
Creates a deep copy of the object
public com.smartdevicelink.managers.screen.choiceset.ChoiceCell clone()
|java.lang.Object||getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize|