Called when the state of a nearby peer changes.
- iOS 7.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 10.0+
The session that manages the nearby peer whose state changed.
The ID of the nearby peer whose state changed.
The new state of the nearby peer.
This delegate method is called with the following state values when the nearby peer’s state changes: