MethodChannelBonsoir class
A Bonsoir class that allows to either broadcast a service or to discover services on the network.
- Inheritance
-
- Object
- PlatformInterface
- BonsoirPlatformInterface
- MethodChannelBonsoir
Constructors
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
-
createBroadcastAction(
BonsoirService service, {bool printLogs = kDebugMode}) → BonsoirAction< BonsoirBroadcastEvent> -
This method returns an initialized subclass of BonsoirAction holding the eventStreams and other state needed for the implementations.
override
-
createDiscoveryAction(
String type, {bool printLogs = kDebugMode}) → BonsoirAction< BonsoirDiscoveryEvent> -
This method returns an initialized subclass of BonsoirAction holding the eventStreams and other state needed for the implementations.
override
-
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