TuyaCameraMethodChannel class

Inheritance

Constructors

TuyaCameraMethodChannel()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAllMessages() Future<List<Map<String, dynamic>>>
Get all messages getAllMessages function of native is invoked
override
getCameraCapabilities({required String deviceId}) Future<Map<String, dynamic>>
Get the capabilities of a given camera device deviceId details is passed on to native getCameraCapabilities function of native is invoked
override
getDeviceAlerts({required String deviceId, required int year, required int month}) Future<List<Map<String, dynamic>>>
Get alerts of a given device deviceId, year, month details are passed to native getDeviceAlerts function of native is invoked
override
getDeviceDpConfigs({required String deviceId}) Future<List<Map<String, dynamic>>>
Get the current configurations of set of DP codes on a device deviceId details is passed on to native getDeviceDpConfigs function of native is invoked
override
listCameras({required int homeId}) Future<List<Map<String, dynamic>>>
Get a list of cameras added to a home homeId details is passed on to native listCamera function of native is invoked
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerPush({required int type, required bool isOpen}) Future<void>
Kick off APNs / FCM registration on the native side type,isOpen details are passed on to native registerPush function of native is invoked
override
saveVideoToGallery({required String filePath}) Future<void>
Save the current video to a given path filePath details is passed on to native saveVideoToGallery function of native is invoked
override
setDeviceDpConfigs({required String deviceId, required Map<String, dynamic> dps}) Future<bool>
Configure a set of DP codes on a device deviceId,dps details is passed on to native setDeviceDpConfigs function of native is invoked
override
startLiveStream({required String deviceId}) Future<void>
Start live streaming of a given camera deviceId details is passed on to native startLiveStream function of native is invoked
override
stopLiveStream({required String deviceId}) Future<void>
Stop live streaming of a given camera deviceId details is passed on to native stopLiveStream function of native is invoked
override
stopSaveVideoToGallery() Future<void>
Stop saving the video stopSaveVideoToGallery function of native is invoked
override
toString() String
A string representation of this object.
inherited

Operators

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