PresentationConnectionAvailableEvent 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 is fired on a
PresentationRequest when a connection associated with the
object is created.
A controlling user agent fires a trusted event named
connectionavailable
on a PresentationRequest when a
connection associated with the object is created. It is fired at
the PresentationRequest instance, using the interface, with the
connection attribute set to the PresentationConnection object
that was created. The event is fired for each connection that is
created for the controller, either by the controller calling
start()
or reconnect()
, or by the controlling user agent
creating a connection on the controller's behalf via
defaultRequest
.
Event
PresentationConnectionAvailableEvent
- Implemented types
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- PresentationConnectionAvailableEvent(String type, PresentationConnectionAvailableEventInit eventInitDict)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited