generateRequest method
The generateRequest()
method of the MediaKeySession interface returns
a Promise
after generating a media request based on initialization data.
Implementation
external JSPromise<JSAny?> generateRequest(
String initDataType,
BufferSource initData,
);