addAdParam

fun addAdParam(key: String, value: String): ArcMediaPlayer

Configuration setting: This can also be set using .configureMediaPlayer and the ArcXPVideoConfig object. Add an adParam key/value pair to be passed to MediaTailor when enabling server side ads. Multiple calls can be made to this method and each parameter will be added to the call. This method takes a key and a value and will be added to the call as a JSON entry of the format { “adParams” : { “key1”: “value1”, “key2”: “value2” } }

Return

Media player object

Parameters

key

Key

value

Associated value