Android SDK Version

public final class DefaultMediaViewVideoRenderer
extends MediaViewVideoRenderer
This is a Default VideoViewRenderer used within MediaView. It can be replaced with any customized MediaViewVideoRenderer by calling MediaView.setVideoRenderer(MediaViewVideoRenderer)
Field Summary
Fields inherited from class com.facebook.ads.
nativeAd, videoAutoplayBehavior
Constructor Summary
Constructor and Description
DefaultMediaViewVideoRenderer(Context context) 
DefaultMediaViewVideoRenderer(Context context, AttributeSet attrs) 
DefaultMediaViewVideoRenderer(Context context, AttributeSet attrs, int defStyleAttr) 
DefaultMediaViewVideoRenderer(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) 
Method Summary
Modifier and TypeMethod and Description
voidonPrepared()
Callback when the video is prepared and ready to play.
Methods inherited from class com.facebook.ads.internal.api.AdComponentView
attachAdComponentViewApi, onAttachedToWindow, onDetachedFromWindow, onMeasure, onVisibilityChanged, onWindowFocusChanged, setLayoutParams
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

DefaultMediaViewVideoRenderer

public DefaultMediaViewVideoRenderer(Context context)

DefaultMediaViewVideoRenderer

public DefaultMediaViewVideoRenderer(Context context,
                                     AttributeSet attrs)

DefaultMediaViewVideoRenderer

public DefaultMediaViewVideoRenderer(Context context,
                                     AttributeSet attrs,
                                     int defStyleAttr)

DefaultMediaViewVideoRenderer

public DefaultMediaViewVideoRenderer(Context context,
                                     AttributeSet attrs,
                                     int defStyleAttr,
                                     int defStyleRes)
Method Detail

onPrepared

public void onPrepared()
Description copied from class: MediaViewVideoRenderer
Callback when the video is prepared and ready to play.
Overrides: