load method

JSPromise<JSBoolean> load(
  1. String sessionId
)

The load() method of the MediaKeySession interface returns a Promise that resolves to a boolean value after loading data for a specified session object.

Implementation

external JSPromise<JSBoolean> load(String sessionId);