API reference

MockDevice Protocol

Extends Sendable

Signature

protocol MockDevice: Sendable

Properties

deviceIdentifier : DeviceIdentifier
[Get]
The unique device identifier for this mock device.

Functions

doff ()
Simulates taking off (doffing) the device.
Signature
public func doff()
don ()
Simulates putting on (donning) the device.
Signature
public func don()
powerOff ()
Powers off the mock device.
Signature
public func powerOff()
powerOn ()
Powers on the mock device.
Signature
public func powerOn()