PresentationRequest
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
APresentationRequest
object is used to initiate or reconnect to a presentation made by acontrolling browsing context. ThePresentationRequest
objectMUST be implemented in acontrolling browsing context provided by acontrolling user agent.
When aPresentationRequest
is constructed, the givenurls
MUST be used as the list ofpresentation request URLs which are each a possiblepresentation URL for thePresentationRequest
instance.
In this article
Constructor
PresentationRequest()
ExperimentalCreates a
PresentationRequest
.
Instance properties
None
Instance methods
PresentationRequest.start()
ExperimentalReturns a
Promise
that resolves with aPresentationConnection
after the user agent prompts the user to select a display and grant permission to use that display.PresentationRequest.reconnect()
ExperimentalWhen the
reconnect(presentationId)
method is called on aPresentationRequest
presentationRequest, theuser agentMUST run the following steps toreconnect to a presentation.PresentationRequest.getAvailability()
ExperimentalWhen the
getAvailability()
method is called, the user agentMUST run the steps as the link.
Specifications
Specification |
---|
Presentation API> # interface-presentationrequest> |
Browser compatibility
Loading…