MediaKeysRequirement Enum

Whether a feature of a key system is required, optional or not allowed (https://w3c.github.io/encrypted-media/#dom-mediakeysrequirement).

public enum MediaKeysRequirement

Fields

NameValueDescription
Required0The feature must be supported, and the objects created from the configuration may use it.
Optional1The feature may be supported and used (only in a configuration passed to requestMediaKeySystemAccess()).
NotAllowed2The feature must not be used.