start() is intentionally not part of this protocol because different capabilities may have different start signatures. The protocol exists for DeviceSession's cascading stop contract.
protocol Capability: AnyObject, Sendable
capabilityState
: CapabilityState
[Get] |
The current state of this capability.
|
stop
()
|
Stops the capability, tearing down its resources and detaching from the parent DeviceSession.
Signature
public func stop() |