Protocols

The following protocols are available globally.

  • CBLArray protocol defines a set of methods for reading array data.

    See more

    Declaration

    Objective-C

    @protocol CBLArray <NSObject, CBLArrayFragment, NSFastEnumeration>
  • CBLArrayFragment protocol provides subscript access to CBLFragment objects by index.

    See more

    Declaration

    Objective-C

    @protocol CBLArrayFragment <NSObject>
  • Conflict Resolver protocol

    See more

    Declaration

    Objective-C

    @protocol CBLConflictResolver <NSObject>
  • CBLDictionary protocol defines a set of methods for reading dictionary data.

    See more

    Declaration

    Objective-C

    @protocol CBLDictionary <NSObject, CBLDictionaryFragment, NSFastEnumeration>
  • CBLDictionaryFragment protocol provides subscript access to CBLFragment objects by key.

    See more

    Declaration

    Objective-C

    @protocol CBLDictionaryFragment <NSObject>
  • Replication target endpoint.

    Declaration

    Objective-C

    @protocol CBLEndpoint <NSObject>
  • CBLFragment protocol provides read access to the data value wrapped by a fragment object.

    See more

    Declaration

    Objective-C

    @protocol CBLFragment <NSObject>
  • ENTERPRISE EDITION ONLY.

    The authenticator used by CBLURLEndpointListener to authenticate clients.

    Declaration

    Objective-C

    @protocol CBLListenerAuthenticator <NSObject>
  • Listener token returned when adding a change listener. The token is used for removing the added change listener.

    Declaration

    Objective-C

    @protocol CBLListenerToken <NSObject>
  • Logger protocol

    See more

    Declaration

    Objective-C

    @protocol CBLLogger <NSObject>
  • ENTERPRISE EDITION ONLY.

    A delegate used by the replicator to create CBLMessageEndpointConnection objects.

    See more

    Declaration

    Objective-C

    @protocol CBLMessageEndpointDelegate
  • ENTERPRISE EDITION ONLY.

    The protocol implemented by the application using a custom transporation method to exchange replication data between peers.

    See more

    Declaration

    Objective-C

    @protocol CBLMessageEndpointConnection <NSObject>
  • ENTERPRISE EDITION ONLY.

    The replicator connection used by the application to tell the replicator to consume the data received from the other peer or to close the connection.

    See more

    Declaration

    Objective-C

    @protocol CBLReplicatorConnection <NSObject>
  • CBLMutableArray protocol defines a set of methods for getting and setting array data.

    See more

    Declaration

    Objective-C

    @protocol CBLMutableArray <CBLArray, CBLMutableArrayFragment>
  • CBLMutableArrayFragment protocol provides subscript access to CBLMutableFragment objects by index.

    See more

    Declaration

    Objective-C

    @protocol CBLMutableArrayFragment <CBLArrayFragment>
  • CBLMutableDictionary protocol defines a set of methods for writing dictionary data.

    See more

    Declaration

    Objective-C

    @protocol CBLMutableDictionary <CBLDictionary, CBLMutableDictionaryFragment>
  • CBLMutableDictionaryFragment protocol provides subscript access to CBLMutableFragment objects by key.

    See more

    Declaration

    Objective-C

    @protocol CBLMutableDictionaryFragment <CBLDictionaryFragment>
  • CBLMutableFragment protocol provides read and write access to the data value wrapped by a fragment object.

    See more

    Declaration

    Objective-C

    @protocol CBLMutableFragment <CBLFragment>
  • ENTERPRISE EDITION ONLY

    PredictiveModel protocol that allows to integrate machine learning model into CouchbaseLite Query via invoking the Function.prediction() function.

    See more

    Declaration

    Objective-C

    @protocol CBLPredictiveModel <NSObject>