PresentationConnection 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. 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 .

EventTarget

PresentationConnection

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

Constructors

PresentationConnection()
factory

Properties

binaryType ↔ BinaryType

Available on PresentationConnection, provided by the PropsPresentationConnection extension

getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id → String

Available on PresentationConnection, provided by the PropsPresentationConnection extension

no setter
onclose ↔ EventHandlerNonNull<Event>?

Available on PresentationConnection, provided by the PropsPresentationConnection extension

getter/setter pair
onconnect ↔ EventHandlerNonNull<Event>?

Available on PresentationConnection, provided by the PropsPresentationConnection extension

getter/setter pair
onmessage ↔ EventHandlerNonNull<Event>?

Available on PresentationConnection, provided by the PropsPresentationConnection extension

getter/setter pair
onterminate ↔ EventHandlerNonNull<Event>?

Available on PresentationConnection, provided by the PropsPresentationConnection extension

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

Available on PresentationConnection, provided by the PropsPresentationConnection extension

no setter
url → String

Available on PresentationConnection, provided by the PropsPresentationConnection extension

no setter

Methods

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

Available on EventTarget, provided by the PropsEventTarget extension

close() → void

Available on PresentationConnection, provided by the PropsPresentationConnection extension

dispatchEvent(Event event) → bool

Available on EventTarget, provided by the PropsEventTarget extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventListener(String type, EventListener? callback, [dynamic options]) → void

Available on EventTarget, provided by the PropsEventTarget extension

send(String message) → void

Available on PresentationConnection, provided by the PropsPresentationConnection extension

terminate() → void

Available on PresentationConnection, provided by the PropsPresentationConnection extension

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

Operators

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