Class ImaDaiSettings
java.lang.Object
com.jwplayer.pub.api.media.ads.dai.ImaDaiSettings
IMA DAI settings for a stream
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionImaDaiSettings
(String assetKey, ImaDaiSettings.StreamType streamType, String apiKey) Constructor for DAI settings for a Live StreamImaDaiSettings
(String videoId, String cmsId, ImaDaiSettings.StreamType streamType, String apiKey) Constructor for DAI settings for a VOD Stream -
Method Summary
Modifier and TypeMethodDescriptionint
getCmsId()
void
setAdTagParameters
(Map<String, String> mAdTagParameters) void
writeToParcel
(Parcel dest, int flags)
-
Field Details
-
CREATOR
public static final <any> CREATOR
-
-
Constructor Details
-
ImaDaiSettings
public ImaDaiSettings(String videoId, String cmsId, ImaDaiSettings.StreamType streamType, String apiKey) Constructor for DAI settings for a VOD Stream- Parameters:
videoId
- Video ID for the video you would like to playcmsId
- CMS ID for the video you would like to playstreamType
- The type of stream (HLS or DASH)apiKey
- DAI authentication key
-
ImaDaiSettings
Constructor for DAI settings for a Live Stream- Parameters:
assetKey
- The asset key for the Live Stream you would like to playstreamType
- The type of stream (HLS or DASH)apiKey
- DAI authentication key
-
-
Method Details
-
getVideoId
- Returns:
- The video ID for the DAI stream to play
-
getCmsId
- Returns:
- The CMS ID for the DAI stream to play
-
getAssetKey
- Returns:
- The asset key for the DAI stream to play
-
getApiKey
- Returns:
- The DAI authentication key
-
getStreamType
- Returns:
- The type of stream (HLS or DASH)
-
getAdTagParameters
- Returns:
- The ad tag parameters on the DAI stream request that is override
-
setAdTagParameters
- Parameters:
mAdTagParameters
- The ad tag parameters on the DAI stream request that is override
-
describeContents
public int describeContents() -
writeToParcel
public void writeToParcel(Parcel dest, int flags)
-