AdPlaybackControllerSubscribeMethod
A function that contains an ad event description.
<T>(event: T, handler: function): function
Parameters:
Name | Type | Mandatory | Description |
---|---|---|---|
event |
T:AdPlaybackControllerEvent | Yes | Ad event to subscribe to. |
handler |
(data: AdPlaybackControllerCallbackData[T]): void | Yes | Callback function to be executed if the specified ad event occurs. |
Was the article helpful?
Previous
Next