Instance Property

delegate

The delegate object that handles session-related events.

Declaration

iOS, Mac Catalyst, tvOS
@property(weak, nonatomic) id<MCSessionDelegate> delegate;
macOS
@property(weak, atomic) id<MCSessionDelegate> delegate;

See Also

Creating a Session

- initWithPeer:

Creates a Multipeer Connectivity session.

- initWithPeer:securityIdentity:encryptionPreference:

Creates a Multipeer Connectivity session, providing security information.

encryptionPreference

A value indicating whether the connection prefers encrypted connections, unencrypted connections, or has no preference.

myPeerID

A local identifier that represents the device on which your app is currently running.

securityIdentity

The security identity of the local peer.