MediaKeyMessageEventInit constructor

MediaKeyMessageEventInit({
  1. required MediaKeyMessageType messageType,
  2. required ByteBuffer message,
})

Implementation

factory MediaKeyMessageEventInit(
        {required MediaKeyMessageType messageType,
        required ByteBuffer message}) =>
    MediaKeyMessageEventInit._(
        messageType: messageType.value, message: message);