Constructor
new ClientSideAd(imaAdnon-null, imaAdManagernon-null)
Parameters:
Name | Type | Description |
---|---|---|
imaAd |
google.ima.Ad | |
imaAdManager |
google.ima.AdsManager |
- Implements:
- Source:
Members
manager_ :google.ima.AdsManager
Type:
- google.ima.AdsManager
- Source:
Methods
canSkipNow() → {boolean}
- Implements:
- Source:
Returns:
- Type
- boolean
getDuration() → {number}
- Implements:
- Source:
Returns:
- Type
- number
getMinSuggestedDuration() → {number}
Gets the minimum suggested duration. Defaults to being equivalent to
getDuration() for server-side ads.
- Implements:
- Source:
- See:
Returns:
- Type
- number
getPositionInSequence() → {number}
- Implements:
- Source:
Returns:
- Type
- number
getRemainingTime() → {number}
- Implements:
- Source:
Returns:
- Type
- number
getSequenceLength() → {number}
- Implements:
- Source:
Returns:
- Type
- number
getTimeUntilSkippable() → {number}
- Implements:
- Source:
Returns:
- Type
- number
getVolume() → {number}
- Implements:
- Source:
Returns:
- Type
- number
isMuted() → {boolean}
- Implements:
- Source:
Returns:
- Type
- boolean
isPaused() → {boolean}
- Implements:
- Source:
Returns:
- Type
- boolean
isSkippable() → {boolean}
- Implements:
- Source:
Returns:
- Type
- boolean
pause()
- Source:
play()
- Source:
release()
Request that this object release all internal references.
- Inherited From:
- Implements:
- Source:
resize(width, height)
Parameters:
Name | Type | Description |
---|---|---|
width |
number | |
height |
number |
- Implements:
- Source:
setMuted(muted)
Parameters:
Name | Type | Description |
---|---|---|
muted |
boolean |
- Implements:
- Source:
setPaused(paused)
Parameters:
Name | Type | Description |
---|---|---|
paused |
boolean |
- Source:
setVolume(volume)
Parameters:
Name | Type | Description |
---|---|---|
volume |
number |
- Implements:
- Source:
skip()
- Source: