NISession
An object that identifies a unique connection between two peer devices.
Declaration
class NISessionMentioned in
Overview
This class represents the central mechanism to interact with nearby objects, for example, a peer Apple device or third-party accessory. After creating an NISession for a nearby object, the app interacts with the object by receiving NISessionDelegate callbacks.
One session represents an interaction between the user and a single nearby object. To interact with multiple nearby objects, create a separate session for each.
For more information, see Initiating and maintaining a session.