CardCommand mixin
- Superclass constraints
- Mixin applications
Properties
- checkIntervalCommand ↔ CheckIntervalCommand?
-
getter/setter pairinherited
- clientId ← String
-
no getterinherited
- clientPtr → int?
-
no setterinherited
- cluster ↔ String
-
getter/setter pairinherited
- dismantleCommand ↔ DismantleCommand?
-
getter/setter pairinherited
- dvrCommand ↔ DVRCommand?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
设备ID
finalinherited
- isVirtualId ↔ bool
-
getter/setter pairinherited
- ledCommand ↔ LedCommand?
-
getter/setter pairinherited
- lightCommand ↔ LightCommand?
-
getter/setter pairinherited
- mobileCommand ↔ MobileCommand?
-
getter/setter pairinherited
- model → String
-
设备型号
finalinherited
- motorCommand ↔ MotorCommand?
-
getter/setter pairinherited
- multipleZoomCommand ↔ MultipleZoomCommand?
-
getter/setter pairinherited
- name → String
-
设备名称
finalinherited
- p2pConnectState ↔ ClientConnectState
-
getter/setter pairinherited
- pageCount ↔ int
-
getter/setter pair
- password ↔ String
-
getter/setter pairinherited
- passwordCommand ↔ PasswordCommand?
-
getter/setter pairinherited
- powerCommand ↔ PowerCommand?
-
getter/setter pairinherited
- powerSwitchCommand ↔ PowerSwitchCommand?
-
getter/setter pairinherited
- presetCruiseCommand ↔ PresetCruiseCommand?
-
getter/setter pairinherited
- privacyPositionCommand ↔ PrivacyPositionCommand?
-
getter/setter pairinherited
- qiangQiuCommand ↔ QiangQiuCommand?
-
getter/setter pairinherited
-
recordFileList
↔ List<
RecordFile> -
getter/setter pair
- recordResolutionCommand ↔ RecordResolutionCommand?
-
getter/setter pairinherited
- redBlueLightCommand ↔ RedBlueLightCommand?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sirenCommand ↔ SirenCommand?
-
getter/setter pairinherited
- statusResult ↔ StatusResult?
-
getter/setter pairinherited
- supplier ↔ String
-
getter/setter pairinherited
- username ↔ String
-
getter/setter pairinherited
- whiteLedCommand ↔ WhiteLedCommand?
-
getter/setter pairinherited
- wifiCommand ↔ WifiCommand?
-
getter/setter pairinherited
- wifiEnhancedModeCommand ↔ WifiEnhancedModeCommand?
-
getter/setter pairinherited
Methods
-
addCallback(
int cmd, CommandCallbackFunc func) → void -
inherited
-
addListener<
T> (T listener) → void -
inherited
-
cameraCommand(
StatusResult result) → Future< void> -
inherited
-
changeCameraLens(
String value, {int timeout = 5}) → Future< bool> -
双目切换镜头
inherited
-
changeClientId(
) → Future< bool> -
inherited
-
changeDateTimeType(
int value, {int timeout = 5}) → 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
-
deleteRecordFile(
String recordName, {int timeout = 5}) → Future< bool> -
deviceDestroy(
) → Future< void> -
inherited
-
disconnect(
) → Future< bool> -
断开连接
如果设备正处于连接状态,需要等待设备退出连接后再调用
bool ret = await AppP2PApi().clientDisconnect(clientPtr);调用clientDisconnect如果返回true,则说明设备曾经连接成功, 需要等待设备回调disconnect才能确保设备已经完全断开连接 需要调用await _waitDisconnected()来确认设备已经完全断开inherited -
displayPassword(
String password) → String -
inherited
-
getAllLineFile(
) → List< RecordTimeLineFile> -
getClientId(
) → Future< String> -
inherited
-
getClientPtr(
) → Future< int> -
inherited
-
getDeviceDirectory(
) → Future< Directory> -
inherited
-
getMap(
String data) → Map -
inherited
-
getRecordData(
String date, List< int> data, int timeout, int offset) → Future<bool> -
getRecordFile(
{int pageIndex = 0, int pageSize = 20, bool cache = true, bool supportRecordTypeSeach = false, String? dateName, int timeout = 5}) → Future< List< RecordFile> > -
getRecordLineFile(
String date, {bool cache = true, int timeout = 5}) → Future< List< RecordTimeLineFile> > -
getRecordTypeSearchDate(
{int timeout = 5}) → Future< List< String> > -
getServiceParam(
) → Future< String> -
inherited
-
getStatus(
{int timeout = 5, bool cache = true}) → Future< StatusResult?> -
获取设备状态
@param
cache是否使用缓存,默认为true 使用缓存inherited -
login(
String username, String password, {int timeout = 5}) → Future< StatusResult?> -
登录指令
inherited
-
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 -
reboot(
{int timeout = 5}) → Future< bool> -
重启指令
inherited
-
removeCallback(
int cmd) → void -
inherited
-
removeCommandListener(
) → void -
移除指令监听
inherited
-
removeListener<
T> (T listener) → void -
inherited
-
restoreFactory(
{int timeout = 5}) → Future< bool> -
重置指令
inherited
-
setAppVersionOemId(
String appOemid, String appVersion, int aacSupport, {int timeout = 5}) → Future< bool> -
app版本号传给固件
inherited
-
setCommandListener(
) → Future< void> -
设置指令监听
inherited
-
setDeviceName(
String name, {int timeout = 5}) → Future< bool> -
修改设备名字
inherited
-
startRecordFile(
String recordName, int offset, {int timeout = 5}) → Future< bool> -
startRecordLineFile(
int timestamp, int event, {int timeout = 5, int channel = 4, int frameNo = 0, int key = 0}) → Future< bool> -
startRecordLineFileDown(
List< RecordTimeLineDown> files, {int timeout = 5}) → Future<bool> -
stopRecordFile(
{int timeout = 5}) → Future< bool> -
stopRecordLineFileDown(
{int timeout = 5}) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
-
updateAdminPassword(
String password, {required int userid, int timeout = 5}) → Future< bool> -
inherited
-
updateDateTime(
{int timeout = 5}) → Future< bool> -
inherited
-
updateFirmware(
String server, String file, {int timeout = 5}) → Future< bool> -
inherited
-
updateOwnerPassword(
String userId, String password, {int timeout = 5}) → Future< bool> -
inherited
-
updatePushUser(
{int timeout = 5}) → Future< bool> -
云存储授权
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