Package com.castlabs.android.adverts
Class Ad
- java.lang.Object
-
- com.castlabs.android.adverts.Ad
-
public class Ad extends Object
Ad container.- Since:
- 3.2.2
-
-
Field Summary
Fields Modifier and Type Field Description Uri
adAssetUri
Ad Asset UriUri
adTagUri
Ad Tag Urilong
durationMs
Ad duration in milliseconds orC.TIME_UNSET
String
id
Ad Idint
playerType
int
position
Ad position in the stream, one ofSdkConsts.AdPosition
long
positionMs
Ad position in milliseconds within the window in case ofSdkConsts.AD_EMBEDDED
stream type orC.TIME_UNSET
double
skipTimeOffset
The number of seconds of playback before the ad becomes skippable.int
streamType
String
title
Ad title
-
Constructor Summary
Constructors Constructor Description Ad()
-
-
-
Field Detail
-
position
public int position
Ad position in the stream, one ofSdkConsts.AdPosition
-
durationMs
public long durationMs
Ad duration in milliseconds orC.TIME_UNSET
-
positionMs
public long positionMs
Ad position in milliseconds within the window in case ofSdkConsts.AD_EMBEDDED
stream type orC.TIME_UNSET
-
id
@Nullable public String id
Ad Id
-
title
@Nullable public String title
Ad title
-
adTagUri
@Nullable public Uri adTagUri
Ad Tag Uri
-
adAssetUri
@Nullable public Uri adAssetUri
Ad Asset Uri
-
streamType
public int streamType
-
playerType
public int playerType
-
skipTimeOffset
public double skipTimeOffset
The number of seconds of playback before the ad becomes skippable.
-
-