PresenceChannel class abstract

This interface represents a presence channel.

Inheritance
Implementers

Constructors

PresenceChannel(ConnectorOptions options)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
options ConnectorOptions
The Echo options.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

error(Function callback) Channel
Register a callback to be called anytime an error occurs.
inherited
here(Function callback) PresenceChannel
Register a callback to be called anytime the member list changes.
joining(Function callback) PresenceChannel
Listen for someone joining the channel.
leaving(Function callback) PresenceChannel
Listen for someone leaving the channel.
listen(String event, Function callback) Channel
Listen for an event on the channel instance.
inherited
listenForWhisper(String event, Function callback) Channel
Listen for a whisper event on the channel instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notification(Function callback) Channel
Listen for an event on the channel instance.
inherited
stopListening(String event, [Function? callback]) Channel
Stop listening to an event on the channel instance.
inherited
stopListeningForWhisper(String event, [Function? callback]) Channel
Stop listening for a whisper event on the channel instance.
inherited
subscribe() → void
subscribe channel
inherited
subscribed(Function callback) Channel
Register a callback to be called anytime a subscription succeeds.
inherited
toString() String
A string representation of this object.
inherited
unsubscribe() → void
Unsubscribe channel
inherited

Operators

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