Package 

Interface PushMessageButton


  • 
    public interface PushMessageButton
    
                        

    Interface representing a button associated with a push message.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit recordAction(Context context) Record action event for this button, usually after a click.
      abstract Integer getIndex() Index of the button (starts from 1).
      abstract String getTitle() Title of the button.
      abstract Uri getLink() Link associated with the button.
      abstract Integer getIcon() Icon resource ID for the button.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • recordAction

         abstract Unit recordAction(Context context)

        Record action event for this button, usually after a click.

        Parameters:
        context - Context to run in.
      • getIndex

         abstract Integer getIndex()

        Index of the button (starts from 1).

      • getLink

         abstract Uri getLink()

        Link associated with the button.

      • getIcon

         abstract Integer getIcon()

        Icon resource ID for the button. Default can be 0.