Interface IEventTitleReceiver


public interface IEventTitleReceiver
Since:
27/8/17.
Version:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
     
    static final float
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    void
    hideEventTitle(float fadeOutDuration)
    Hides the current event title with a fade out duration.
    default void
    showEventTitle(Message primaryTitle, Message secondaryTitle, boolean isMajor, String icon)
    Show an event title.
    default void
    showEventTitle(Message primaryTitle, Message secondaryTitle, boolean isMajor, String icon, float duration)
    Show an event title.
    void
    showEventTitle(Message primaryTitle, Message secondaryTitle, boolean isMajor, String icon, float duration, float fadeInDuration, float fadeOutDuration)
    Show an event title.
  • Field Details

  • Method Details

    • showEventTitle

      default void showEventTitle(Message primaryTitle, Message secondaryTitle, boolean isMajor, String icon)
      Show an event title.
      Parameters:
      primaryTitle - The primary title
      secondaryTitle - The secondary title
      isMajor - Indicates the variant to display (major or minor)
      icon - The icon
    • showEventTitle

      default void showEventTitle(Message primaryTitle, Message secondaryTitle, boolean isMajor, String icon, float duration)
      Show an event title.
      Parameters:
      primaryTitle - The primary title
      secondaryTitle - The secondary title
      isMajor - Indicates the variant to display (major or minor)
      icon - The icon
      duration - The duration to display for in seconds
    • showEventTitle

      void showEventTitle(Message primaryTitle, Message secondaryTitle, boolean isMajor, String icon, float duration, float fadeInDuration, float fadeOutDuration)
      Show an event title.
      Parameters:
      primaryTitle - The primary title
      secondaryTitle - The secondary title
      isMajor - Indicates the variant to display (major or minor)
      icon - The icon
      duration - The duration to display for in seconds
      fadeInDuration - The duration of the fade in in seconds
      fadeOutDuration - The duration of the fade out in seconds
    • hideEventTitle

      default void hideEventTitle()
    • hideEventTitle

      void hideEventTitle(float fadeOutDuration)
      Hides the current event title with a fade out duration.
      Parameters:
      fadeOutDuration - The duration of the fade out in seconds