PresentationRequest: PresentationRequest() constructor

Experimental: This is an experimental technology
Check 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 PresentationRequest() constructor creates a new PresentationRequest object which creates a new PresentationRequest.

Syntax

js
new PresentationRequest(url)
new PresentationRequest(urls)

Parameters

url or urls\[]

A URL or array of URLs that are possible URLs used to create, or reconnect, a presentation for the PresentationRequest instance.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android
PresentationRequest 47 79 No 34 No 47 No 34 No 5.0 No

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/PresentationRequest