SetHeartbeatMode static method
手动发一次心跳 设置心跳模式,0:定时心跳 1:动态心跳
Implementation
/*
static void SendCmd() async {
Log.i(tag, "SendCmd");
PlatformMethodInvokeHandler.invokeMethod("SendCmd");
}
*/
///设置心跳模式,0:定时心跳 1:动态心跳
static void SetHeartbeatMode(int mode) async {
Log.i(tag, "SetHeartbeatMode:$mode");
PlatformMethodInvokeHandler.invokeMethod("SetHeartbeatMode", mode);
}