NearbyServiceMessagesListener class
Stream Subscription Listener.
- Inheritance
-
- Object
- NearbyServiceSocketListener<
ReceivedNearbyMessage< NearbyMessageContent> > - NearbyServiceMessagesListener
Constructors
-
NearbyServiceMessagesListener({required ValueChanged<
ReceivedNearbyMessage< onData, VoidCallback? onCreated, VoidCallback? onDone, void onError(Object, [StackTrace])?, bool? cancelOnError})NearbyMessageContent> > -
It is required to pass the onData parameter to process the
data that came through the stream.
const
Properties
- cancelOnError → bool?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- onCreated → VoidCallback?
-
finalinherited
-
onData
→ ValueChanged<
ReceivedNearbyMessage< NearbyMessageContent> > -
finalinherited
- onDone → VoidCallback?
-
finalinherited
- onError → (void Function(Object, [StackTrace])?)
-
finalinherited
- 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