@nextcloud/dialogs
    Preparing search index...

    Interface MediaKeySystemAccess

    The MediaKeySystemAccess interface of the Encrypted Media Extensions API provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess() method. Available only in secure contexts.

    MDN Reference

    interface MediaKeySystemAccess {
        keySystem: string;
        createMediaKeys(): Promise<MediaKeys>;
        getConfiguration(): MediaKeySystemConfiguration;
    }
    Index

    Properties

    keySystem: string

    The keySystem read-only property of the MediaKeySystemAccess interface returns a string identifying the key system being used.

    MDN Reference

    Methods

    • The MediaKeySystemAccess.createMediaKeys() method returns a Promise that resolves to a new MediaKeys object.

      MDN Reference

      Returns Promise<MediaKeys>