Protocols

The following protocols are available globally.

  • This protocol describes the interface for handling events from a live query client.

    You can use this protocol on any custom class of yours, instead of Subscription, if it fits your use case better.

    See more

    Declaration

    Swift

    @objc(PFLiveQuerySubscriptionHandling)
    public protocol ObjCCompat_SubscriptionHandling
  • This protocol describes the interface for handling events from a liveQuery client.

    You can use this protocol on any custom class of yours, instead of Subscription, if it fits your use case better.

    See more

    Declaration

    Swift

    public protocol SubscriptionHandling : AnyObject