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

    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(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(String id, android.content.Context context)
    Should be called when on videoMotionItem has clicked
    void
    onItemShow(String id, android.content.Context context)
    Should be called when videoMotionItem has showed
  • Method Details

    • 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 String id, @NonNull android.content.Context context)
      Should be called when on videoMotionItem has clicked
      Parameters:
      id -
      context -
    • onItemShow

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

      void onError(@NonNull 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 -