next
TypeScriptnext(): Promise<(Record<number, WAPairedDevice>) | null>Swift declarationfunc 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.