Media Key Session
Functions
add Event Listener
Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
Content copied to clipboard
fun addEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Content copied to clipboard
dispatch Event
Link copied to clipboard
generate Request
Link copied to clipboard
fun generateRequest(initDataType: String, initData: dynamic): Promise<Unit>
Content copied to clipboard
remove Event Listener
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
Content copied to clipboard
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Content copied to clipboard
Properties
expiration
Link copied to clipboard
keyStatuses
Link copied to clipboard
onkeystatuseschange
Link copied to clipboard
onmessage
Link copied to clipboard