ImmutableDevice
@available(iOS 13.0.0, *)
public protocol ImmutableDevice<T>
Protocol defining immutable device operations.
-
Declaration
Swift
associatedtype T
-
get()
Asynchronous -
delete(_:
Asynchronous) Deletes the specified device.
Declaration
Swift
func delete(_ device: T) async throws
Parameters
device
The device to delete.