MediaKeySession: remove() method

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("Encrypted Media Extensions")}}{{SecureContext_Header}}

The remove() method of the {{domxref('MediaKeySession')}} interface returns a {{jsxref('Promise')}} after removing any session data associated with the current object.

Syntax

js-nolint
remove()

Parameters

None.

Return value

A {{jsxref('Promise')}} that resolves to {{jsxref("undefined")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}