WebIDLpedia

WakeLockSentinel interface

Definition

Screen Wake Lock API defines WakeLockSentinel



[SecureContext, Exposed=(Window)]
interface WakeLockSentinel : EventTarget {
  readonly attribute boolean released;
  readonly attribute WakeLockType type;
  Promise<undefined> release();
  attribute EventHandler onrelease;
};

Methods and attributes that return objects implementing WakeLockSentinel

Referring IDL interfaces/dictionaries