Class Action


  • public class Action
    extends Object
    • Method Detail

      • getTitle

        public String getTitle()
        Returns the user-visible title for this action.
      • getViewIntent

        public Intent getViewIntent()
        Returns the activity Intent that will be started when the user clicks on the button for this action.
      • getEntityIdentifier

        public int getEntityIdentifier()
        Returns an identifier unique within the entity type. E.g. for episodes the TVDb id. Extensions may use it to determine if there was an action already built for this entity and consequently just re-send it.

        SeriesGuide will use the identifier to match a published action to its request, e.g. which episode the action belongs to.

      • toBundle

        public Bundle toBundle()
        Serializes this Action object to a Bundle representation.