sendContextRequest(_:)
func sendContextRequest(_ inRetries: Int = 5)
This sends a message to the phone (from the watch), that is interpreted as a request for a context update.
-
This handles a valid reply.
Declaration
Swift
func _replyHandler(_ inReply: [String : Any])Parameters
inReplyA dictionary, containing the reply.
-
This is called for an error. We may retry the call.
Declaration
Swift
func _errorHandler(_ inError: any Error)Parameters
inErrorAny error that occurred
View on GitHub