Feature data to configure Amazon A9

Properties

enabled:Bool

If the feature is turned on

initialSlotName:Null<String>

To be used as slot name in the case of subsequent playback session starts. (Not the first playback session start)

midrollSlotName:Null<String>

Override the default slot name used in subsequent calls for targeting data.

getRefreshedTargetingData:String ‑> Int ‑> Promise<Dynamic>

Gets refreshed targeting data for subsequent requests.

Parameters:

slotName

The name of the slot that will be provided.

timeout

The amount of time to wait until the promise is rejected if a response is not resolved.

Returns:

Promise

getTargetingData:Int ‑> Promise<Dynamic>

Gets the targeting data for the first request.

Parameters:

timeout

The amount of time to wait until the promise is rejected if a response is not resolved.

Returns:

Promise