WatchConnectivity Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows communication between an Apple Watch app and its companion iOS app.
Classes
WCSession |
Mediates the transfer of information between a WatchKit extension app and the container app on the device. |
WCSessionDelegate |
Delegate 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_Extensions |
Extension methods to the IWCSessionDelegate interface to support all the methods from the WCSessionDelegate protocol. |
WCSessionFile |
Holds data relating to a file being transferred between a WatchKit extension app and it's container app. |
WCSessionFileTransfer |
Represents an ongoing file transfer between a WatchKit extension app and it's container app. |
WCSessionUserInfoTransfer |
Represents an ongoing data transfer between a WatchKit extension app and it's container app. |
Interfaces
IWCSessionDelegate |
Interface representing the required methods (if any) of the protocol WCSessionDelegate. |
Enums
WCErrorCode |
Enumerates error codes relating to watch connectivity. |
WCSessionActivationState |
Enumerates session states. |
Delegates
WCSessionReplyDataHandler |
The reply handler for use with M:WatchConnectivity.WCSessionDelegate.DidReceiveMessageData*. |
WCSessionReplyHandler |
The reply handler for use with DidReceiveMessageData(IWCSessionDelegate, WCSession, NSData, WCSessionReplyDataHandler). |