DatasyncSubscriptionCompletion

@frozen
public enum DatasyncSubscriptionCompletion : Equatable, CustomStringConvertible

A value that represents how a subscription completed.

Cases

  • Indicates that the subscription was cancelled.

    The associated value indicates how the value was cancelled.

    Declaration

    Swift

    case cancellation(WebcomCancellation)
  • Indicates that the subscription was revoked by the back-end.

    The associated value indicates the reason of this revocation.

    Declaration

    Swift

    case revocation(reason: WebcomError)

CustomStringConvertible Protocol

  • Declaration

    Swift

    public var description: String { get }