bindings/presentation_api library
Presentation API
Classes
- Presentation
- Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The can be defined as two possible user agents in the context: Controlling user agent and Receiving user agent. In controlling browsing context, the interface provides a mechanism to override the browser default behavior of launching presentation to external screen. In receiving browsing context, interface provides the access to the available presentation connections.
- PresentationAvailability
-
Experimental: This is an experimental technologyCheck the
Browser compatibility table carefully before using this in
production.Secure context: This feature is available only in
secure contexts (HTTPS), in some or all supporting browsers.
A object is associated with available presentation displays and
represents the presentation display availability for a
presentation request. If the controlling user agent can monitor
the list of available presentation displays in the background
(without a pending request to
start()
), the object MUST be implemented in a controlling browsing context. The value attribute MUST return the last value it was set to. The value is updated by the monitor the list of available presentation displays algorithm. The onchange attribute is an event handler whose corresponding event handler event type ischange
. - PresentationConnection
- Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the Presentation API provides methods and properties for managing a single presentation. Each presentation connection is represented by a object. Both the controlling user agent and receiving user agent MUST implement .
- PresentationConnectionAvailableEvent
-
Experimental: This is an experimental technologyCheck the
Browser compatibility table carefully before using this in
production.Secure context: This feature is available only in
secure contexts (HTTPS), in some or all supporting browsers.
The interface of the Presentation API is fired on a
PresentationRequest when a connection associated with the
object is created.
A controlling user agent fires a trusted event named
connectionavailable
on a PresentationRequest when a connection associated with the object is created. It is fired at the PresentationRequest instance, using the interface, with the connection attribute set to the PresentationConnection object that was created. The event is fired for each connection that is created for the controller, either by the controller callingstart()
orreconnect()
, or by the controlling user agent creating a connection on the controller's behalf viadefaultRequest
. - PresentationConnectionAvailableEventInit
- PresentationConnectionCloseEvent
- Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the Presentation API is fired on a PresentationConnection when it is closed.
- PresentationConnectionCloseEventInit
- PresentationConnectionList
- Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. is the collection of incoming presentation connections.
- PresentationReceiver
- Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Presentation API provides a means for a receiving browsing context to access controlling browsing contexts and communicate with them.
- PresentationRequest
-
Experimental: This is an experimental technologyCheck the
Browser compatibility table carefully before using this in
production.Secure context: This feature is available only in
secure contexts (HTTPS), in some or all supporting browsers.
A object is used to initiate or reconnect to a presentation made
by a controlling browsing context. The object MUST be implemented
in a controlling browsing context provided by a controlling user
agent.
When a is constructed, the given
urls
MUST be used as the list of presentation request URLs which are each a possible presentation URL for the instance.
Extensions
- PropsPresentation on Presentation
- PropsPresentationAvailability on PresentationAvailability
- PropsPresentationConnection on PresentationConnection
- PropsPresentationConnectionAvailableEvent on PresentationConnectionAvailableEvent
- PropsPresentationConnectionAvailableEventInit on PresentationConnectionAvailableEventInit
- PropsPresentationConnectionCloseEvent on PresentationConnectionCloseEvent
- PropsPresentationConnectionCloseEventInit on PresentationConnectionCloseEventInit
- PropsPresentationConnectionList on PresentationConnectionList
- PropsPresentationReceiver on PresentationReceiver
- PropsPresentationRequest on PresentationRequest