MethodChannelNsd class
An implementation of NsdPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- NsdPlatform
- MethodChannelNsd
Constructors
Properties
-
discoverServiceFailed
→ Stream<
void> -
no setteroverride
-
discoverServiceStarted
→ Stream<
void> -
no setteroverride
-
discoverServiceStopped
→ Stream<
void> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
-
resolveServiceFailed
→ Stream<
void> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceFound
→ Stream<
NsdService> -
no setteroverride
-
serviceLost
→ Stream<
NsdService> -
no setteroverride
Methods
-
discoverServices(
String serviceType) → Future< void> -
override
-
dispose(
) → void -
Dispose resources
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDebug(
bool debug) → void -
override
-
stopDiscovery(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited