DeviceChoice
Record in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
The result of the DevicePickerWindow: all devices, the device of the event, or chosen devices and tags.
public sealed record DeviceChoice(DeviceChoiceKind Kind, IReadOnlyList<Guid> DeviceIds, IReadOnlyList<string> Tags)Parameters
Kind: All devices, the device of the event, or chosen devices and tags.DeviceIds: The chosen devices.Tags: The chosen tags: every device with one of them.
Properties
Section titled “Properties”AllDevices
Section titled “AllDevices”static DeviceChoice AllDevices { get; }Every managed device, also devices added later.
DeviceIds
Section titled “DeviceIds”IReadOnlyList<Guid> DeviceIds { get; init; }The chosen devices.
EventDevice
Section titled “EventDevice”static DeviceChoice EventDevice { get; }The device of the event.
IsEmpty
Section titled “IsEmpty”bool IsEmpty { get; }A chosen set without devices and tags.
DeviceChoiceKind Kind { get; init; }All devices, the device of the event, or chosen devices and tags.
IReadOnlyList<string> Tags { get; init; }The chosen tags: every device with one of them.
Methods
Section titled “Methods”Devices
Section titled “Devices”static DeviceChoice Devices(IEnumerable<Guid> ids, IEnumerable<string>? tags = null)These devices and the devices with these tags.