PowerCommand class

摄像机功耗控制

Constructors

PowerCommand(CameraCommand _command)

Properties

chargingNoSleep String?
getter/setter pair
electricitySleepSwitch bool?
getter/setter pair
electricityThreshold String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
powerMode PowerMode?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

controlChargingNoSleep(String isOpen, {int timeout = 5}) Future<bool>
controlPower(PowerMode mode, {int timeout = 5}) Future<bool>
getPowerMode({int timeout = 5}) Future<bool>
getSmartElectricitySleep({int timeout = 5}) Future<bool>
智能电量
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSmartElectricitySleep(int enable, {int timeout = 5, int electricityThreshold = 50}) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited