WifiP2P class

Constructors

WifiP2P()

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

Static Properties

connectionChangeEvent Stream<bool>?
no setter
peerListChangeEvent Stream<List<String>>?
no setter
receiveData Stream<String>?
no setter
wifiStateChangeEvent Stream<bool>?
no setter

Static Methods

connectToDevice(int position) Future<bool>
discoverDevices() Future<int>
openLocationSetting() Future<void>
openWifiSetting() Future<void>
sendData(String dataToSend) Future<void>
toggleWifiState() Future<bool>