Package com.my.target.instreamads
Interface InstreamAdVideoMotionPlayer
public interface InstreamAdVideoMotionPlayer
This interface must be implemented in advertisement videoNotionPlayer.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCalls from this listener must be implemented in videoplayer for calculating video ad statistics -
Method Summary
Modifier and TypeMethodDescriptionvoidplayVideoMotionBanner(InstreamAd.InstreamAdVideoMotionBanner instreamAdVideoMotionBanner) show InstreamAdVideoMotionBanner when it calledvoidsetVideoMotionPlayerListener(InstreamAdVideoMotionPlayer.VideoMotionPlayerListener videoMotionPlayerListener) Sets listener for ad playing events
-
Method Details
-
playVideoMotionBanner
void playVideoMotionBanner(@NonNull InstreamAd.InstreamAdVideoMotionBanner instreamAdVideoMotionBanner) show InstreamAdVideoMotionBanner when it called- Parameters:
instreamAdVideoMotionBanner-
-
setVideoMotionPlayerListener
void setVideoMotionPlayerListener(@Nullable InstreamAdVideoMotionPlayer.VideoMotionPlayerListener videoMotionPlayerListener) Sets listener for ad playing events- Parameters:
videoMotionPlayerListener- listener should be set
-