TuyaCameraPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • TuyaCameraPlatform
Implementers

Constructors

TuyaCameraPlatform()

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
getCameraCapabilities({required String deviceId}) Future<Map<String, dynamic>>
Get the capabilities of a given camera device
getDeviceAlerts({required String deviceId, required int year, required int month}) Future<List<Map<String, dynamic>>>
Get alerts of a given device
getDeviceDpConfigs({required String deviceId}) Future<List<Map<String, dynamic>>>
Get the current configurations of set of DP codes on a device
listCameras({required int homeId}) Future<List<Map<String, dynamic>>>
Get a list of cameras added to a home
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
saveVideoToGallery({required String filePath}) Future<void>
Save the current video to a given path
setDeviceDpConfigs({required String deviceId, required Map<String, dynamic> dps}) Future<bool>
Configure a set of DP codes on a device
startLiveStream({required String deviceId}) Future<void>
Start live streaming of a given camera
stopLiveStream({required String deviceId}) Future<void>
Stop live streaming of a given camera
stopSaveVideoToGallery() Future<void>
Stop saving the video
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance TuyaCameraPlatform
getter/setter pair