EzvizManager class

插件Manager

Constructors

EzvizManager.shared()
factory

Properties

deviceList Future<List<EzvizDeviceInfo>?>
获取所有的设备信息
no setter
hashCode int
The hash code for this object.
no setterinherited
platformVersion Future<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkVersion Future<String>
no setter

Methods

controlPTZ(String deviceSerial, int cameraId, String command, String action, int speed) Future<bool>
云台控制
enableLog(bool enableLog) Future
是否开启日志
enableP2P(bool enableP2P) Future
是否开启P2P
getDeviceInfo(String deviceSerial) Future<EzvizDeviceInfo?>
获取设备信息
initSDK(EzvizInitOptions? options) Future<bool>
初始化SDK
loginNetDevice(String userId, String pwd, String ipAddr, int port) Future<EzvizNetDeviceInfo?>
登录网络设备
logoutNetDevice(String userId) Future<bool>
登出网络设备
netControlPTZ(int userId, int channelNo, String command, String action) Future<bool>
网络设备云台控制
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeEventHandler() → void
停止EventHandler
setAccessToken(String accessToken) Future
设置AccessToken
setEventHandler(EzvizOnEvent event, EzvizOnError error) → void
设置EventHandler
setVideoLevel(String deviceSerial, int cameraId, int videoLevel) Future<bool>
设置视频通道清晰度
toString() String
A string representation of this object.
inherited

Operators

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