VideoCommand mixin
- Superclass constraints
- Mixin applications
Properties
- brightness ↔ int
-
getter/setter pair
- checkIntervalCommand ↔ CheckIntervalCommand?
-
getter/setter pairinherited
- clientId ← String
-
no getterinherited
- clientPtr → int?
-
no setterinherited
- cluster ↔ String
-
getter/setter pairinherited
- contrast ↔ int
-
getter/setter pair
- direction ↔ VideoDirection
-
getter/setter pair
- dismantleCommand ↔ DismantleCommand?
-
getter/setter pairinherited
- dvrCommand ↔ DVRCommand?
-
getter/setter pairinherited
- full_color_default ↔ int
-
getter/setter pair
- full_color_end ↔ int
-
getter/setter pair
- full_color_end_hw ↔ int
-
getter/setter pair
- full_color_mode ↔ int
-
getter/setter pair
- full_color_show ↔ int
-
getter/setter pair
- full_color_start ↔ int
-
getter/setter pair
- full_color_start_hw ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
设备ID
finalinherited
- involume ↔ int?
-
getter/setter pair
- ircut ↔ int
-
getter/setter pair
- isVirtualId ↔ bool
-
getter/setter pairinherited
- ledCommand ↔ LedCommand?
-
getter/setter pairinherited
- lightCommand ↔ LightCommand?
-
getter/setter pairinherited
- lightMode ↔ int?
-
getter/setter pair
- mobileCommand ↔ MobileCommand?
-
getter/setter pairinherited
- model → String
-
设备型号
finalinherited
- motorCommand ↔ MotorCommand?
-
getter/setter pairinherited
- multipleZoomCommand ↔ MultipleZoomCommand?
-
getter/setter pairinherited
- name → String
-
设备名称
finalinherited
- night_vision_mode ↔ int
-
getter/setter pair
- osdEnable ↔ int?
-
getter/setter pair
- outvolume ↔ int?
-
getter/setter pair
- p2pConnectState ↔ ClientConnectState
-
getter/setter pairinherited
- 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
- recordResolutionCommand ↔ RecordResolutionCommand?
-
getter/setter pairinherited
- redBlueLightCommand ↔ RedBlueLightCommand?
-
getter/setter pairinherited
- resolution ↔ VideoResolution
-
getter/setter pair
- 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
- videoFormat ↔ int?
-
getter/setter pair
- videoPix ↔ int?
-
200w 还是300w 参数
getter/setter pair
- 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
-
changeBrightness(
int value, {int timeout = 5}) → Future< bool> -
changeCameraLens(
String value, {int timeout = 5}) → Future< bool> -
双目切换镜头
inherited
-
changeClientId(
) → Future< bool> -
inherited
-
changeContrast(
int value, {int timeout = 5}) → Future< bool> -
changeDateTimeType(
int value, {int timeout = 5}) → Future< bool> -
修改水印时间格式
inherited
-
changeDirection(
VideoDirection direction, {int timeout = 5}) → Future< bool> -
changeLightMode(
int value, {int timeout = 5}) → Future< bool> -
changeNightVision(
int value, {int timeout = 5}) → Future< bool> -
changeResolution(
VideoResolution resolution, {int timeout = 5}) → Future< bool> -
changeShowTime(
int value, {int timeout = 5}) → Future< bool> -
changeVideoFormat(
int value, {int timeout = 5}) → Future< bool> -
changeVideoPix(
int value, {int timeout = 5}) → Future< bool> -
changeVolume(
int param, int value, {int timeout = 5}) → Future< bool> -
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> -
override
-
disconnect(
) → Future< bool> -
断开连接
如果设备正处于连接状态,需要等待设备退出连接后再调用
bool ret = await AppP2PApi().clientDisconnect(clientPtr);调用clientDisconnect如果返回true,则说明设备曾经连接成功, 需要等待设备回调disconnect才能确保设备已经完全断开连接 需要调用await _waitDisconnected()来确认设备已经完全断开inherited -
displayPassword(
String password) → String -
inherited
-
fullColorChangeNightVision(
int value, {int timeout = 5}) → Future< bool> -
fullColorChangeNightVisionChild(
int value, {int timeout = 5}) → Future< bool> -
fullColorTiming(
int start, int end, {int timeout = 5}) → Future< bool> -
fullColorTimingDefault(
int value, {int timeout = 5}) → Future< bool> -
getCameraParams(
{int timeout = 5}) → Future< bool> -
getClientId(
) → Future< String> -
inherited
-
getClientPtr(
) → Future< int> -
inherited
-
getDeviceDirectory(
) → Future< Directory> -
inherited
-
getMap(
String data) → Map -
inherited
-
getServiceParam(
) → Future< String> -
inherited
-
getStatus(
{int timeout = 5, bool cache = true}) → Future< StatusResult?> -
获取设备状态
@param
cache是否使用缓存,默认为true 使用缓存inherited -
getVideoDecodingMode(
{int timeout = 5}) → Future< bool> -
getVideoPix(
{int timeout = 5}) → Future< bool> -
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
-
startStream(
{required VideoResolution resolution}) → Future< bool> -
stopStream(
) → 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
-
videoDoubleTap(
int width, int height, int doublex, int doubley, {int timeout = 5}) → Future< bool> - 双击坐标放大
-
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