AlarmMessageAPI 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
-
paramConfig({required String deviceId, required CalendarType type, DateTime? monthDateTime, DateTime? startTime, DateTime? endTime, int? channel, String? userId, String? mUserid, bool needAuth = true})
→ String
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
xcAlarmInit(AlarmMessageInitModel model)
→ Future<int>
-
报警功能初始化 zh_CN
szInitInfo初始化json
seq自定义值
return code:0
-
xcAlarmMSGCalendar({required String deviceId, DateTime? monthDateTime, DateTime? startTime, DateTime? endTime, int? channel, String? userId, String? mUserid})
→ Future<List<String>>
-
报警日历查询
deviceId 设备
monthDateTime 查询某个月份 可选
startTime 开始日期 可选
endTime 结束日期 可选
channel 通道号 可选
userId 设备的userId 可选
mUserid 分享的设备,其主账号的userId 可选
seq自定义值
要么只传monthDateTime,要么传startTime和endTime,两种方式选择一个
return '2023-06-17','2023-06-18'
-
xcAlarmQuerySubscribeStatus(Querysubscribe messageBody)
→ Future<bool>
-
-
xcAlarmVideoCalendar({required String deviceId, required String userId, DateTime? monthDateTime, DateTime? startTime, DateTime? endTime, int? channel, String? mUserid, bool needAuth = true})
→ Future<List<String>>
-
-
xcCancelAllAlarmSubscribe({required List<String> deviceList})
→ dynamic
-
取消所有报警订阅
deviceList 设备id数组
-
xcDeleteAlarmMessages(AlarmMessageDeleteModel model)
→ Future<int>
-
-
xcGetPhoneToken()
→ Future<Map<String, dynamic>>
-
-
xcQueryAlarmMsgList(AlarmMessageModel model)
→ Future<Map<String, dynamic>>
-
-
xcSubscribeDeviceAlarmMessages(AlarmSubscribe messageBody)
→ Future<int>
-
-
xcUnsubscribeDevicesAlarmMessages(AlarmUnsubscribe messageBody)
→ Future<int>
-