sendDeviceSignature static method
Implementation
static Future<bool> sendDeviceSignature(String screenName) async {
var status = false;
try {
status = await _channel.invokeMethod("sendDeviceSignature", {
"screenName": screenName
}).timeout(const Duration(seconds: 5), onTimeout: () {
//If the result not comeback in 5 seconds, just time out
return false;
});
} catch (_) {}
return status;
}