Namespace api


The google.ima.dai namespace provides access to the SDK's classes, interfaces, enumerations, and properties.
Namespaces
StreamEvent
Enumerations
OmidAccessMode
Available access modes for OMID for Web, which control how much the verification script can access.
OmidVerificationVendor
Identifies an OMID verification vendor.
StreamFormat
The formats of the stream.
Classes
LiveStreamRequest
A class for specifying properties of the live stream request.
PodStreamRequest
A class for specifying properties of the pod serving live stream request.
PodVodStreamRequest
A class for specifying properties of the pod serving VOD stream request.
StreamManager
Handles dynamic ad insertion streams.
StreamRequest
A class for specifying properties of the stream request.
UiSettings
Stream UI Settings.
VideoStitcherLiveStreamRequest
A class for specifying properties of the video stitcher live stream request.
VideoStitcherVodStreamRequest
A class for specifying properties of the video stitcher VOD stream request.
VODStreamRequest
A class for specifying properties of the VOD stream request.
Interfaces
Ad
An ad object for DAI streams.
AdPeriodData
Ad period data.
AdPodInfo
Represents ad pod information for DAI streams.
AdProgressData
Ad data related to ad progress events.
CompanionAd
A companion ad object for DAI streams.
CuePoint
A cuepoint for an ad break in DAI VOD streams.
SdkSettings
This class contains IMA DAI settings APIs.
StreamData
Specifies stream data.
StreamEvent
Events the stream manager raises as notifications during stream playback.
UniversalAdIdInfo
Represents a universal ad ID info object for DAI streams.
Variables
DaiSdkSettings
The global singleton settings instance.

Enumerations


OmidAccessMode

OmidAccessMode
Available access modes for OMID for Web, which control how much the verification script can access.
Enumeration Members
DOMAIN
Deprecated. No longer supported. IMA DAI SDK ignores this access mode and defaults to the LIMITED access mode. Access mode rules selecting the DOMAIN access mode are ignored and default to the LIMITED access mode.
FULL
The verification script has direct access to the creative and the publisher page.
LIMITED
The verification script has restricted access, can't access the creative or publisher page, and can't directly confirm what publisher domain the verification script is on.

OmidVerificationVendor

OmidVerificationVendor
Identifies an OMID verification vendor. Vendors are listed in alphabetical order.
Enumeration Members
COMSCORE
DOUBLEVERIFY
GOOGLE
INTEGRAL_AD_SCIENCE
MEETRICS
MOAT
NIELSEN
OTHER
The default vendor to use when the script URL doesn't match any other vendor.
PIXELATE

StreamFormat

StreamFormat
The formats of the stream.
Enumeration Members
DASH
HLS

Variables


Const DaiSdkSettings

DaiSdkSettings: SdkSettings
The global singleton settings instance.