Android SDK Version
- AbstractAdListener
- Ad
- AdChoicesView
- AdError
- AdIconView
- AdListener
- AdOptionsView
- AdOptionsView.Orientation
- AdSettings
- AdSettings.IntegrationErrorMode
- AdSettings.MultiprocessSupportMode
- AdSettings.TestAdType
- AdSize
- AdView
- AudienceNetworkActivity
- AudienceNetworkAds
- AudienceNetworkAds.AdFormat
- AudienceNetworkAds.InitListener
- AudienceNetworkAds.InitResult
- AudienceNetworkAds.InitSettingsBuilder
- BidderTokenProvider
- CacheFlag
- DefaultMediaViewVideoRenderer
- ExtraHints
- ExtraHints.Builder
- ExtraHints.HintType
- ExtraHints.Keyword
- InstreamVideoAdListener
- InstreamVideoAdView
- InterstitialAd
- InterstitialAdExtendedListener
- InterstitialAdListener
- MediaView
- MediaViewListener
- MediaViewVideoRenderer
- MediaViewVideoRendererWithBackgroundPlayback
- NativeAd
- NativeAd.AdCreativeType
- NativeAdBase
- NativeAdBase.Image
- NativeAdBase.MediaCacheFlag
- NativeAdBase.NativeComponentTag
- NativeAdBase.Rating
- NativeAdLayout
- NativeAdListener
- NativeAdScrollView
- NativeAdScrollView.AdViewProvider
- NativeAdsManager
- NativeAdsManager.Listener
- NativeAdView
- NativeAdView.Type
- NativeAdViewAttributes
- NativeBannerAd
- NativeBannerAdView
- NativeBannerAdView.Type
- RewardData
- RewardedVideoAd
- RewardedVideoAdExtendedListener
- RewardedVideoAdListener
- S2SRewardedVideoAdExtendedListener
- S2SRewardedVideoAdListener
- VideoAutoplayBehavior
- VideoStartReason
- java.lang.Object
- FrameLayout
- com.facebook.ads.internal.api.AdComponentView
- com.facebook.ads.MediaViewVideoRenderer
- com.facebook.ads.DefaultMediaViewVideoRenderer
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)
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 Type | Method and Description |
---|---|
void | onPrepared() Callback when the video is prepared and ready to play. |
Methods inherited from class com.facebook.ads.
addView, addView, addView, addView, addView, destroy, disengageSeek, engageSeek, getCurrentTimeMs, getDuration, getMediaViewVideoRendererApi, getVolume, onCompleted, onError, onPaused, onPlayed, onSeek, onSeekDisengaged, onSeekEngaged, onVolumeChanged, pause, play, seekTo, setNativeAd, setVolume, shouldAllowBackgroundPlayback, shouldAutoplay, unsetNativeAd
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:
onPrepared
in class MediaViewVideoRenderer