-
@RestrictTo(value = RestrictTo.Scope.LIBRARY) public class DAIUtils
-
-
Method Summary
Modifier and Type Method Description static ArrayList<CuePoint>
convertGoogleCuePointsIntoBrightcoveCuePoints(List<CuePoint> googleCuePointList, long videoDuration)
Convert Google CuePoints into Brightcove CuePoints static CuePoint
convertGoogleCuePointIntoBrigthcoveCuePoint(CuePoint googleCuePoint, long videoDuration)
Convert a single Google CuePoint into a single Brightcove CuePoint static Ad
convertGoogleAdIntoBrightcoveAd(Ad googleAd, long position)
Create a Brightcove Ad object based on the ad provided by the IMA lib(Google)and received in the onAdEvent() callback com.google.ads.interactivemedia.v3.api.AdEvent.AdEventListener -
-
Method Detail
-
convertGoogleCuePointsIntoBrightcoveCuePoints
static ArrayList<CuePoint> convertGoogleCuePointsIntoBrightcoveCuePoints(List<CuePoint> googleCuePointList, long videoDuration)
Convert Google CuePoints into Brightcove CuePoints
- Parameters:
googleCuePointList
- - a list of Google CuePointsvideoDuration
- - the video duration
-
convertGoogleCuePointIntoBrigthcoveCuePoint
static CuePoint convertGoogleCuePointIntoBrigthcoveCuePoint(CuePoint googleCuePoint, long videoDuration)
Convert a single Google CuePoint into a single Brightcove CuePoint
- Parameters:
googleCuePoint
- - Google CuePoint to be convertedvideoDuration
- - Video duration
-
convertGoogleAdIntoBrightcoveAd
static Ad convertGoogleAdIntoBrightcoveAd(Ad googleAd, long position)
Create a Brightcove Ad object based on the ad provided by the IMA lib(Google)and received in the onAdEvent() callback com.google.ads.interactivemedia.v3.api.AdEvent.AdEventListener
- Parameters:
googleAd
- - The ad returned by the IMA library
-
-
-
-