Protocols

The following protocols are available globally.

  • Provides feedback to the developer about Ditto authentication status.

    See more

    Declaration

    Swift

    public protocol DittoAuthenticationDelegate
  • An optional delegate object that can be used to get updates about events occurring that relate to the Ditto object that the delegate was tied to.

    See more

    Declaration

    Swift

    public protocol DittoDelegate : AnyObject
  • A token returned by observePeers(). Retain this object to continue receiving callback updates.

    See more

    Declaration

    Swift

    public protocol DittoPeersObserver : AnyObject