class DeviceStateSession: Sendable
init
(
deviceSelector
)
|
Signature
public init( deviceSelector: DeviceSelector) Parameters deviceSelector: DeviceSelector |
state
: SessionState
[Get] |
The current state of the device session.
|
start
()
|
Starts the device state session.
Begins monitoring the selected device for state changes.
Signature
public func start() |
stop
()
|
Stops the device state session.
Releases resources and stops monitoring device state changes.
Signature
public func stop() |