Package 

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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • convertGoogleCuePointsIntoBrightcoveCuePoints

         static ArrayList<CuePoint> convertGoogleCuePointsIntoBrightcoveCuePoints(List<CuePoint> googleCuePointList, long videoDuration)

        Convert Google CuePoints into Brightcove CuePoints

        Parameters:
        googleCuePointList - - a list of Google CuePoints
        videoDuration - - 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 converted
        videoDuration - - 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