Back to Content

PresentationRequest: start() method

files/en-us/web/api/presentationrequest/start/index.md

latest779 B
Original Source

{{APIRef("Presentation API")}}{{SeeCompatTable}}{{SecureContext_Header}}

The start() property of the {{domxref("PresentationRequest")}} interface returns a {{jsxref("Promise")}} that resolves with a {{domxref("PresentationConnection")}} after the user agent prompts the user to select a display and grant permission to use that display.

Syntax

js-nolint
start()

Parameters

None.

Return value

A {{jsxref("Promise")}} that resolves with a {{domxref("PresentationConnection")}}.

Security

Transient user activation is required. The user has to interact with the page or a UI element in order for this feature to work.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}