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

    inReply

    A dictionary, containing the reply.

  • This is called for an error. We may retry the call.

    Declaration

    Swift

    func _errorHandler(_ inError: any Error)

    Parameters

    inError

    Any error that occurred