PresentationRequest

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

A PresentationRequest object is used to initiate or reconnect to a presentation made by a controlling browsing context. The PresentationRequest object MUST be implemented in a controlling browsing context provided by a controlling user agent.

When a PresentationRequest is constructed, the given urls MUST be used as the list of presentation request URLs which are each a possible presentation URL for the PresentationRequest instance.

Constructor

PresentationRequest()
Creates a PresentationRequest.

Properties

None

Event handlers

PresentationRequest.onconnectionavailable
Fires on a successful call to PresentationRequest.start() or PresentationRequest.join(). This method provides a object with a reference to the created or joined object.

Methods

PresentationRequest.start()
When the start method is called, the user agent MUST run the following steps to start a presentation.
PresentationRequest.reconnect()
When the reconnect(presentationId) method is called on a PresentationRequest presentationRequest, the user agent MUST run the following steps to reconnect to a presentation.
PresentationRequest.getAvailability()
When the getAvailability() method is called, the user agent MUST run the steps as the link.

Specifications

Specification Status Comment
Presentation API
The definition of 'PresentationRequest interface' in that specification.
Candidate Recommendation Initial definition.

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support

48.0

? ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support No support ? ? ? ? ? 48.0

文档标签和贡献者