DevicePlatformApi class

Constructors

DevicePlatformApi(MethodChannel _methodChannel)

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

createDevice(String sdkId, Device p) Future<Device>
createDeviceInGroup(String sdkId, String groupId, Device device) Future<Device>
createDevices(String sdkId, List<Device> devices) Future<List<IdWithRev>>
deleteDevice(String sdkId, Device device) Future<DocIdentifier>
deleteDeviceById(String sdkId, String entityId, String rev) Future<DocIdentifier>
deleteDevices(String sdkId, List<Device> devices) Future<List<DocIdentifier>>
deleteDevicesByIds(String sdkId, List<IdWithMandatoryRev> entityIds) Future<List<DocIdentifier>>
deleteDevicesInGroup(String sdkId, String groupId, List<IdWithRev> deviceIds) Future<List<DocIdentifier>>
filterDevicesBy(String sdkId, BaseFilterOptions<Device> filter) Future<PaginatedListIterator<Device>>
filterDevicesBySorted(String sdkId, BaseSortableFilterOptions<Device> filter) Future<PaginatedListIterator<Device>>
getDevice(String sdkId, String deviceId) Future<Device>
getDevices(String sdkId, List<String> deviceIds) Future<List<Device>>
getDevicesInGroup(String sdkId, String groupId, List<String>? deviceIds) Future<List<Device>>
matchDevicesBy(String sdkId, BaseFilterOptions<Device> filter) Future<List<String>>
matchDevicesBySorted(String sdkId, BaseSortableFilterOptions<Device> filter) Future<List<String>>
modifyDevice(String sdkId, Device device) Future<Device>
modifyDeviceInGroup(String sdkId, String groupId, Device device) Future<Device>
modifyDevices(String sdkId, List<Device> devices) Future<List<IdWithRev>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeDevice(String sdkId, Device device) Future<void>
purgeDeviceById(String sdkId, String id, String rev) Future<void>
subscribeToEvents(String sdkId, Set<SubscriptionEventType> events, FilterOptions<Device> filter, EntitySubscriptionConfiguration? subscriptionConfig) Future<EntitySubscription<Device>>
toString() String
A string representation of this object.
inherited
undeleteDevice(String sdkId, Device device) Future<Device>
undeleteDeviceById(String sdkId, String id, String rev) Future<Device>

Operators

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