Interface BroadcastPlayer.ViewerCountObserver

    • Method Detail

      • onCurrentViewersUpdated

        void onCurrentViewersUpdated​(long viewers)
        Called when the number of viewers is updated.
        Parameters:
        viewers - Current number of viewers of the broadcast. This is generally an interesting number during a live broadcast.
      • onTotalViewersUpdated

        void onTotalViewersUpdated​(long viewers)
        Called when the number of viewers is updated.
        Parameters:
        viewers - Total number of viewers of the broadcast. This accumulates over time and is generally a nice number to show for an old broadcast. The counted viewers are not guaranteed to be unique, but there are measures in place to exclude obvious duplicates, eg. replays from a viewer.