PresentationRequest class

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.

EventTarget

PresentationRequest

Implemented types
Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

PresentationRequest(String url)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
onconnectionavailable EventHandlerNonNull<Event>?

Available on PresentationRequest, provided by the PropsPresentationRequest extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

dispatchEvent(Event event) bool

Available on EventTarget, provided by the PropsEventTarget extension

getAvailability() Future<PresentationAvailability>

Available on PresentationRequest, provided by the PropsPresentationRequest extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reconnect(String presentationId) Future<PresentationConnection>

Available on PresentationRequest, provided by the PropsPresentationRequest extension

removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

start() Future<PresentationConnection>

Available on PresentationRequest, provided by the PropsPresentationRequest extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited