Class YouboraAnalyticsSession

    • Method Detail

      • detachFromControllerInternal

        public void detachFromControllerInternal()
      • onExoPlayerStateChangedInternal

        public void onExoPlayerStateChangedInternal​(boolean playWhenReady,
                                                    int playbackState)
      • stopInternal

        public void stopInternal()
      • releaseInternal

        public void releaseInternal()
      • adStartInternal

        public void adStartInternal​(Ad ad)
      • adStopInternal

        public void adStopInternal()
      • adSkippedInternal

        public void adSkippedInternal()
      • sendErrorInternal

        public void sendErrorInternal​(String code,
                                      String message,
                                      int severity)
      • seekStartInternal

        public void seekStartInternal​(long newPosition)
      • seekEndInternal

        public void seekEndInternal()
      • seekProcessedInternal

        public void seekProcessedInternal()
      • getYouboraPlugin

        @Nullable
        public com.npaw.youbora.lib6.plugin.Plugin getYouboraPlugin()
        Return the underlying instance of the Youbora Plugin API. May be null if the session is not yet started.
        Returns:
        the underlying instance of the Youbora Plugin API.
      • id

        @NonNull
        public Class id()
      • onDestroy

        public void onDestroy​(@NonNull
                              PlayerController playerController)
      • onOpenBundle

        public void onOpenBundle​(@NonNull
                                 PlayerController playerController,
                                 @NonNull
                                 Bundle bundle)
      • setPlugin

        public void setPlugin​(@Nullable
                              com.npaw.youbora.lib6.plugin.Plugin youboraPlugin)
        Sets the Youbora Plugin instance to use. Note that calling this method is not needed in case the YouboraPlugin was already created with a Plugin instance. Should be called before opening the player.
        Parameters:
        youboraPlugin - Youbora Plugin instance to use.