Class PlaybackStats.EventTimeAndFormat

  • Enclosing class:
    PlaybackStats

    public static final class PlaybackStats.EventTimeAndFormat
    extends Object
    Stores a format with the event time at which it started being used, or null to indicate that no format was used.
    • Field Detail

      • format

        @Nullable
        public final Format format
        The format that started being used, or null if no format was used.
    • Constructor Detail

      • EventTimeAndFormat

        public EventTimeAndFormat​(AnalyticsListener.EventTime eventTime,
                                  @Nullable
                                  Format format)
        Creates a new timed format event.
        Parameters:
        eventTime - The event time associated with format.
        format - The format that started being used, or null if no format was used.
    • Method Detail

      • equals

        public boolean equals​(@Nullable
                              Object o)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object