Contents

next()

Returns the next dictionary in the sequence.

Declaration

func next() async throws -> WAPairedDevice.DevicesSequence.AsyncIterator.Element?

Return Value

The next WAPairedDevice.Devices snapshot, or nil if it’s at the end of the sequence.

Discussion

The WAPairedDevice.Devices dictionary holds the latest snapshot of the currently paired devices that are known and accessible to your app.

See Also

Getting the next asynchronous update