MessageType

enum MessageType : String

These are the types of “overall message classifications” that can be sent between peers.

  • Sent from the Watch to the phone. Requests that the phone send the current timerModel.

    Declaration

    Swift

    case requestContext
  • Sent from the phone to the Watch. This indicates the payload is a timer model state.

    Declaration

    Swift

    case timerModel
  • Sent from the phone to the Watch. Synchronizes the Watch timer to the main one. The payload is a sync tuple.

    Declaration

    Swift

    case sync
  • Sent from either one. The payload is a string rawvalue of TimerOperation

    Declaration

    Swift

    case newState