PlanCommand mixin
- Superclass constraints
- Mixin applications
Properties
- clientId ← String
-
no getterinherited
- clientPtr → int?
-
no setterinherited
- cluster ↔ String
-
getter/setter pairinherited
- customeZoneData ↔ Map?
-
获取绘制区域
command 1:移动侦测区域, 3:人形侦测区域, 5:离岗侦测区域, 7:脸侦测区域, 9:人脸识别区域
getter/setter pair
- detectionRecordPlanData ↔ Map?
-
侦测计划录像计划指令
获取侦测计划录像
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
设备ID
finalinherited
- isVirtualId ↔ bool
-
getter/setter pairinherited
- model → String
-
设备型号
finalinherited
- motionAlarmPlanData ↔ Map?
-
getter/setter pair
- name → String
-
设备名称
finalinherited
- p2pConnectState ↔ ClientConnectState
-
getter/setter pairinherited
- password ↔ String
-
getter/setter pairinherited
- realTimeRecordPlanData ↔ Map?
-
实时录像计划指令
获取实时计划录像
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supplier ↔ String
-
getter/setter pairinherited
- username ↔ String
-
getter/setter pairinherited
- whiteLightPlanData ↔ Map?
-
getter/setter pair
Methods
-
addCallback(
int cmd, CommandCallbackFunc func) → void -
inherited
-
addListener<
T> (T listener) → void -
inherited
-
changeClientId(
) → Future< bool> -
inherited
-
checkDeviceAp(
String id, {int count = 0}) → Future< bool> -
inherited
-
cleanListener(
) → void -
inherited
-
connectByTime(
{required int clientPtr, required bool lanScan, required int reConnectCount, required int connectType}) → Future< int> -
inherited
-
deviceDestroy(
) → Future< void> -
inherited
-
disconnect(
) → Future< bool> -
断开连接
如果设备正处于连接状态,需要等待设备退出连接后再调用
bool ret = await AppP2PApi().clientDisconnect(clientPtr);调用clientDisconnect如果返回true,则说明设备曾经连接成功, 需要等待设备回调disconnect才能确保设备已经完全断开连接 需要调用await _waitDisconnected()来确认设备已经完全断开inherited -
getAlarmCustomeZone(
int command, {int timeout = 5, int sensor = 0}) → Future< bool> -
getClientId(
) → Future< String> -
inherited
-
getClientPtr(
) → Future< int> -
inherited
-
getDetectionReocrdPlan(
{int timeout = 5}) → Future< bool> -
getDeviceDirectory(
) → Future< Directory> -
inherited
-
getMap(
String data) → Map -
inherited
-
getMotionAlarmPlan(
{int timeout = 5}) → Future< bool> -
getReocrdPlan(
{int timeout = 5}) → Future< bool> -
getServiceParam(
) → Future< String> -
inherited
-
getWhiteLightPlan(
{int timeout = 5}) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners<
T> (void callback(T listener)) → void -
inherited
-
p2pConnect(
{bool lanScan = true, int reConnectCount = 2, required int connectType}) → Future< ClientConnectState> -
进行连接
@param
lanScan是否进行局域网搜索 @paramrecount重连次数inherited -
removeCallback(
int cmd) → void -
inherited
-
removeCommandListener(
) → void -
移除指令监听
inherited
-
removeListener<
T> (T listener) → void -
inherited
-
setAlarmCustomeZone(
{required List records, required int command, int timeout = 5, int sensor = 0}) → Future< bool> - 设置侦测区域
-
setCommandListener(
) → Future< void> -
设置指令监听
inherited
-
setDetectionReocrdPlan(
{required List records, required int enable, int timeout = 5}) → Future< bool> - 设置侦测计划录像
-
setMotionAlarmPlan(
{required List records, required int enable, int timeout = 5}) → Future< bool> -
setReocrdPlan(
{required List records, required int enable, int timeout = 5}) → Future< bool> - 设置实时计划录像
-
setWhiteLightPlan(
{required List records, required int enable, int timeout = 5}) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
-
waitCommandResult(
CommandFilterFunc filterFunc, int timeout) → Future< CommandResult> -
等待指令返回
@param
filterFunc指令筛选条件 @paramtimeout等待时间 秒为单位inherited -
write(
ClientChannelType channel, Uint8List buffer, int timeout) → Future< bool> -
数据发送,用于发送原始数据
inherited
-
writeCgi(
String cgi, {int timeout = 5, bool needLogin = true}) → Future< bool> -
发送CGI指令
底层封装CGI数据格式
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited