Crate objc2_watch_connectivity

Crate objc2_watch_connectivity 

Source
Expand description

§Bindings to the WatchConnectivity framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

WCErrorCodeWCError
These are the possible error codes that can be returned from the WatchConnectivity APIs.
WCSessionWCSession
–––––––––––––––– 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.
WCSessionActivationStateWCSession
Apple’s documentation
WCSessionFileWCSessionFile
Contains file information, such as the file’s location and optional user info
WCSessionFileTransferWCSessionFile
Used to track a file being transferred.
WCSessionUserInfoTransferWCSessionUserInfoTransfer
Used to track a user info dictionary being transferred.

Statics§

WCErrorDomainWCError
Apple’s documentation

Traits§

WCSessionDelegateWCSession
—————————– 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.