Code

enum Code : UInt8

The byte at the start of a packet fragment or a stand-alone control indication.

  • The first fragment of a multi-fragment packet.

    Declaration

    Swift

    case begin = 1
  • An intermediate fragment carrying the same request ID.

    Declaration

    Swift

    case continuation
  • end

    The final fragment of a multi-fragment packet.

    Declaration

    Swift

    case end
  • A complete packet that fits in one fragment.

    Declaration

    Swift

    case whole
  • A hint that the Watch should request a new timer snapshot.

    Declaration

    Swift

    case changed
  • A pairing code the wearer can compare with the iPad’s prompt.

    Declaration

    Swift

    case authorization
  • Confirmation that the Watch can use the request channel.

    Declaration

    Swift

    case ready
  • Rejection of a Watch’s pairing or subscription attempt.

    Declaration

    Swift

    case denied