MutableDevice
@available(iOS 13.0.0, *)
public protocol MutableDevice<T> : ImmutableDevice
Protocol defining mutable device operations.
-
update(_:
Asynchronous) Updates the specified device.
Declaration
Swift
func update(_ device: T) async throws
Parameters
device
The device to update.