MediaKeySession class
The interface of the EncryptedMediaExtensions API represents a context for message exchange with a content decryption module (CDM).
EventTarget
MediaKeySession
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- MediaKeySession()
-
factory
Properties
-
closed
→ Future<
MediaKeySessionClosedReason> -
Available on MediaKeySession, provided by the PropsMediaKeySession extension
no setter - expiration → dynamic
-
Available on MediaKeySession, provided by the PropsMediaKeySession extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- keyStatuses → MediaKeyStatusMap
-
Available on MediaKeySession, provided by the PropsMediaKeySession extension
no setter -
onkeystatuseschange
↔ EventHandlerNonNull<
Event> ? -
Available on MediaKeySession, provided by the PropsMediaKeySession extension
getter/setter pair -
onmessage
↔ EventHandlerNonNull<
Event> ? -
Available on MediaKeySession, provided by the PropsMediaKeySession extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → String
-
Available on MediaKeySession, provided by the PropsMediaKeySession extension
no setter
Methods
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
close(
) → Future< void> -
Available on MediaKeySession, provided by the PropsMediaKeySession extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
generateRequest(
String initDataType, dynamic initData) → Future< void> -
Available on MediaKeySession, provided by the PropsMediaKeySession extension
-
load(
String sessionId) → Future< bool> -
Available on MediaKeySession, provided by the PropsMediaKeySession extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
) → Future< void> -
Available on MediaKeySession, provided by the PropsMediaKeySession extension
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
dynamic response) → Future< void> -
Available on MediaKeySession, provided by the PropsMediaKeySession extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited