Instance Property

delegate

The delegate for the session object

Declaration

@property(nonatomic, weak) id<WCSessionDelegate> delegate;

Discussion

You must assign an object conforming to the WCSessionDelegate protocol to this property before calling the activateSession method. The delegate is responsible for responding to session-related changes, for processing incoming data, and for responding to errors.

For more information about implementing your delegate object, see WCSessionDelegate.

See Also

Configuring the Session

- activateSession

Activates the session asynchronously.

activationState

The current activation state of the session.