MediaKeys class
Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of EncryptedMediaExtensions API represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- MediaKeys()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createSession(
[MediaKeySessionType? sessionType = MediaKeySessionType.temporary]) → MediaKeySession -
Available on MediaKeys, provided by the PropsMediaKeys extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setServerCertificate(
dynamic serverCertificate) → Future< bool> -
Available on MediaKeys, provided by the PropsMediaKeys extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited