Expand description
§Bindings to the WatchConnectivity framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- WCError
Code WCError - These are the possible error codes that can be returned from the WatchConnectivity APIs.
- WCSession
WCSession - –––––––––––––––– WCSession –––––––––––––––– The default session is used to communicate between two counterpart apps (i.e. iOS app and its native WatchKit extension). The session provides methods for sending, receiving, and tracking state.
- WCSession
Activation State WCSession - Apple’s documentation
- WCSession
File WCSessionFile - Contains file information, such as the file’s location and optional user info
- WCSession
File Transfer WCSessionFile - Used to track a file being transferred.
- WCSession
User Info Transfer WCSessionUserInfoTransfer - Used to track a user info dictionary being transferred.
Statics§
Traits§
- WCSession
Delegate WCSession - —————————– WCSessionDelegate —————————– The session calls the delegate methods when content is received and session state changes. All delegate methods will be called on the same queue. The delegate queue is a non-main serial queue. It is the client’s responsibility to dispatch to another queue if neccessary.