class SpecificDeviceSelector: DeviceSelector
init
(
device
)
|
Creates a device selector that targets a specific device.
Signature
public init( device: DeviceIdentifier) Parameters |
activeDevice
: DeviceIdentifier?
[Get] |
The currently active device identifier.
|
activeDeviceStream
()
|
Creates a stream that immediately yields the specific device and then completes.
Signature
public func activeDeviceStream() -> AnyAsyncSequence<DeviceIdentifier?> Returns AnyAsyncSequence<DeviceIdentifier?> |