GetGpsInterval static method

Future<int> GetGpsInterval()

发送消息给用户 发送消息给群组 发送字节消息给群组 发送字节消息给群组 获取定位间隔

Implementation

/*
 static void SendUserMsgEx(int id,int msgId,String msg) async {
   Log.i(tag, "SendUserMsgEx");
   PlatformMethodInvokeHandler.invokeMethod("SendUserMsgEx",[id,msgId,msg]);
 }
 */


///发送消息给群组
/*
 static void SendGroupMsgEx(int id,int msgId,String msg) async {
   Log.i(tag, "SendGroupMsgEx");
   PlatformMethodInvokeHandler.invokeMethod("SendGroupMsgEx",[id,msgId,msg]);
 }
  */

///发送字节消息给群组
/*
 static void SendUserData(int id,Uint8List data) async {
   Log.i(tag, "SendUserData");
   PlatformMethodInvokeHandler.invokeMethod("SendUserData",[id,data]);
 }
 */

///发送字节消息给群组
/*
 static void SendGroupData(int id,Uint8List data) async {
   Log.i(tag, "SendGroupData");
   PlatformMethodInvokeHandler.invokeMethod("SendGroupData",[id,data]);
 }
  */

///获取定位间隔
static Future<int> GetGpsInterval() async {
  int gpsInterval =
      await PlatformMethodInvokeHandler.invokeMethodForInt("GetGpsInterval");
  Log.i(tag, "GetGpsInterval:$gpsInterval");
  return gpsInterval;
}