WebIDLpedia

PresentationRequest interface

Definition

Presentation API defines PresentationRequest



[SecureContext, Exposed=Window]
interface PresentationRequest : EventTarget {
  constructor(USVString url);
  constructor(sequence<USVString> urls);
  Promise<PresentationConnection> start();
  Promise<PresentationConnection> reconnect(USVString presentationId);
  Promise<PresentationAvailability> getAvailability();

  attribute EventHandler onconnectionavailable;
};

Methods and attributes that return objects implementing PresentationRequest

Referring IDL interfaces/dictionaries