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>
  • The CollectionChangeObservable interface represents the object that can notify change events that occur to documents in collections.

    See more

    Declaration

    Objective-C

    @protocol CBLCollectionChangeObservable <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>
  • The Indexable interface defines a set of functions for managing the query indexes.

    See more

    Declaration

    Objective-C

    @protocol CBLIndexable <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.

    See more

    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>
  • The QueryFactory interface defines a function for creating a query from the given SQL string.

    See more

    Declaration

    Objective-C

    @protocol CBLQueryFactory <NSObject>
  • Index Expression.

    Declaration

    Objective-C

    @protocol CBLQueryIndexExpressionProtocol <NSObject>
  • Full-Text Index Expression.

    See more

    Declaration

    Objective-C

    @protocol
        CBLQueryFullTextIndexExpressionProtocol <CBLQueryIndexExpressionProtocol>