iOS Guides | Samples

WatchConnectivity Namespace

Allows communication between an Apple Watch app and its companion iOS app.

Remarks

 

Classes

TypeReason
IWCSessionDelegateInterface representing the required methods (if any) of the protocol WCSessionDelegate.
WCErrorCodeEnumerates error codes relating to watch connectivity.
WCSessionMediates the transfer of information between a WatchKit extension app and the container app on the device.
WCSessionActivationStateEnumerates session states.
WCSessionDelegateDelegate object whose methods, when overridden, allow the app developer to respond to messages sent between a WatchKit extension app and it's container app.
WCSessionDelegate_ExtensionsExtension methods to the IWCSessionDelegate interface to support all the methods from the WCSessionDelegate protocol.
WCSessionFileHolds data relating to a file being transferred between a WatchKit extension app and it's container app.
WCSessionFileTransferRepresents an ongoing file transfer between a WatchKit extension app and it's container app.
WCSessionReplyDataHandlerThe reply handler for use with WCSessionDelegate.DidReceiveMessageData.
WCSessionReplyHandlerThe reply handler for use with WCSessionDelegate.DidReceiveMessage.
WCSessionUserInfoTransferRepresents an ongoing data transfer between a WatchKit extension app and it's container app.