Interface InstreamAdVideoMotionPlayer.VideoMotionPlayerListener

  • Enclosing interface:
    InstreamAdVideoMotionPlayer

    public static interface InstreamAdVideoMotionPlayer.VideoMotionPlayerListener
    Calls from this listener must be implemented in videoplayer for calculating video ad statistics
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onBannerComplete​(android.content.Context context)
      Should be called when on videoMotionBanner has completed
      void onBannerShow​(android.content.Context context)
      Should be called when videoMotionData has showed
      void onCloseByUser​(android.content.Context context)
      Should be called when on videoMotionBanner has closed by user
      void onError​(java.lang.String message, android.content.Context context)
      Should be called when happened some error with videoMotionBanner
      void onHeaderClick​(android.content.Context context)
      Should be called when on VideoMotionHeader has clicked
      void onItemClick​(java.lang.String id, android.content.Context context)
      Should be called when on videoMotionItem has clicked
      void onItemShow​(java.lang.String id, android.content.Context context)
      Should be called when videoMotionItem has showed
    • Method Detail

      • onBannerShow

        void onBannerShow​(@NonNull
                          android.content.Context context)
        Should be called when videoMotionData has showed
        Parameters:
        context -
      • onHeaderClick

        void onHeaderClick​(@NonNull
                           android.content.Context context)
        Should be called when on VideoMotionHeader has clicked
        Parameters:
        context -
      • onItemClick

        void onItemClick​(@NonNull
                         java.lang.String id,
                         @NonNull
                         android.content.Context context)
        Should be called when on videoMotionItem has clicked
        Parameters:
        id -
        context -
      • onItemShow

        void onItemShow​(@NonNull
                        java.lang.String id,
                        @NonNull
                        android.content.Context context)
        Should be called when videoMotionItem has showed
        Parameters:
        id -
        context -
      • onError

        void onError​(@NonNull
                     java.lang.String message,
                     @NonNull
                     android.content.Context context)
        Should be called when happened some error with videoMotionBanner
        Parameters:
        context -
      • onCloseByUser

        void onCloseByUser​(@NonNull
                           android.content.Context context)
        Should be called when on videoMotionBanner has closed by user
        Parameters:
        context -
      • onBannerComplete

        void onBannerComplete​(@NonNull
                              android.content.Context context)
        Should be called when on videoMotionBanner has completed
        Parameters:
        context -