Class AdSource
- java.lang.Object
-
- com.yandex.mobile.ads.video.models.vmap.AdSource
-
- All Implemented Interfaces:
android.os.Parcelable
public final class AdSource extends java.lang.Object implements android.os.ParcelableClass that represents ad source.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()java.lang.StringgetId()Returns ad source identifier.java.lang.BooleanisAllowMultipleAds()Returns boolean value that indicate whether or not player should honor VAST ad pods or other multiple ad formats in the ad response document.java.lang.BooleanisFollowRedirects()Boolean value that indicate whether the video player should honor redirects within an ad response.voidwriteToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<AdSource> CREATOR
-
-
Method Detail
-
getId
@Nullable public java.lang.String getId()
Returns ad source identifier.- Returns:
- Ad source identifier.
-
isAllowMultipleAds
@Nullable public java.lang.Boolean isAllowMultipleAds()
Returns boolean value that indicate whether or not player should honor VAST ad pods or other multiple ad formats in the ad response document.- Returns:
- Boolean value that indicates whether or not player should honor VAST ad pods or other multiple ad formats in the ad response document.
-
isFollowRedirects
@Nullable public java.lang.Boolean isFollowRedirects()
Boolean value that indicate whether the video player should honor redirects within an ad response.- Returns:
trueif the video player should honor redirects within an ad response.
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
-