loadAsync

fun loadAsync(sessionId: String): Promise<ERROR CLASS: Symbol not found for JsBoolean>(source)

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

MDN Reference