PresentationRequest.start()

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Syntax

var promise = presentationRequest.start()
promise.then(function(PresentationConnection) { /* ... */ })
       .catch(function(error) { ...})

Parameters

None.

Return value

A Promise that resolves with a PresentationConnection.

Specifications

Specification
Presentation API
# selecting-a-presentation-display

Browser compatibility

BCD tables only load in the browser