Package 

Interface SingleChoiceAttachment

  • All Implemented Interfaces:
    com.glia.androidsdk.chat.MessageAttachment

    
    public interface SingleChoiceAttachment
     implements MessageAttachment
                        

    Presents the user with the list of options to make a simplified decision for the next interaction. Selected option needs to be sent back to the other party as a regular chat message containing single choice response attachment.

    • Method Summary

      Modifier and Type Method Description
      abstract Array<SingleChoiceOption> getOptions() The options of the single choice message.
      abstract String getSelectedOption() The selected option.
      abstract Optional<String> getImageUrl() URL of an image displayed on top of the choices expressing clear intent of the single choice card
      • Methods inherited from class com.glia.androidsdk.chat.MessageAttachment

        getType
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait