DispatchNetAPI class

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 Methods

bindByToken(String productKey, String deviceName, String token) Future
getDeviceToken() Future<Map?>
listenGatewayPermit(dynamic callback(Map data)) → dynamic
openSystemWiFi() → dynamic
startAddDevice(String linkType, dynamic callback(String stage, dynamic stageData), {String? productKey, String? productId, String? id, String? protocolVersion, ValueGetter<Future<Map<String, String>>>? getWifi}) Future<bool?>
linkType 应该为下列值:
startDiscovery(dynamic callback(Map discoveryType, List deviceList)) → dynamic
stopAddDevice() → dynamic
stopDiscovery() → dynamic
stopListenGatewayPermit() → dynamic