Device Settings
Pre-requisite:
- The user has to be signed in to perform the following operations.
- The device should be a non cluster device to perform the following operations.
Get Device Setting for a Device
To get the device settings, The following method can be used:
spaceId(required): The space ID of the device.deviceId(required): The device ID.
Factory.deviceService.getDeviceSettings(spaceId: String, deviceId: String) -> IVPublisher<DeviceSettingModel>
Get Device Settings for a List of Devices
To get the list of device settings, The following method can be used:
spaceId(required): The space ID of the devices.deviceIds(required): The list of device IDs.queryItems[.init(key: .deviceIds, value: .equal(value: devicesString))]
Factory.deviceService.getAllDevicesSettings(spaceId: String, queryItems: [QueryItem]) -> IVPublisher<[DeviceSettingModel]>