One Logo Pool Ball
WiFiAware · IOS API REFERENCE

WAPairedDevice.DevicesSequence.AsyncIterator

class · iOS 26.0+ · SDK 27.1

class AsyncIterator

An iterator for the sequence of devices.

Members (1)

method · iOS 26.0+

next

TypeScript
next(): Promise<(Record<number, WAPairedDevice>) | null>
Swift declaration
func next() async throws -> WAPairedDevice.DevicesSequence.AsyncIterator.Element?

Returns the next dictionary in the sequence. The ``WAPairedDevice/Devices`` dictionary holds the latest snapshot of the currently paired devices that are known and accessible to your app. - Returns: The next ``WAPairedDevice/Devices`` snapshot, or `nil` if it's at the end of the sequence. > Throws: An error if the system can't read the sequence, or if your app isn't permitted to access Wi-Fi Aware devices.

Skipped declarations

No declarations were skipped in this snapshot.

All WiFiAware types →