Protocols
The following protocols are available globally.
-
CBLArray protocol defines a set of methods for reading array data.
See moreDeclaration
Objective-C
@protocol CBLArray <NSObject, CBLArrayFragment, NSFastEnumeration>
Swift
protocol CBLArrayProtocol : NSFastEnumeration, CBLArrayFragment
-
CBLArrayFragment protocol provides subscript access to CBLFragment objects by index.
See moreDeclaration
Objective-C
@protocol CBLArrayFragment <NSObject>
Swift
protocol CBLArrayFragment
-
CBLDictionary protocol defines a set of methods for reading dictionary data.
See moreDeclaration
Objective-C
@protocol CBLDictionary <NSObject, CBLDictionaryFragment, NSFastEnumeration>
Swift
protocol CBLDictionaryProtocol : NSFastEnumeration, CBLDictionaryFragment
-
CBLDictionaryFragment protocol provides subscript access to CBLFragment objects by key.
See moreDeclaration
Objective-C
@protocol CBLDictionaryFragment <NSObject>
Swift
protocol CBLDictionaryFragment
-
Replication target endpoint.
Declaration
Objective-C
@protocol CBLEndpoint <NSObject>
Swift
protocol CBLEndpoint : NSObjectProtocol
-
CBLFragment protocol provides read access to the data value wrapped by a fragment object.
See moreDeclaration
Objective-C
@protocol CBLFragment <NSObject>
Swift
protocol CBLFragmentProtocol : NSObjectProtocol
-
Listener token returned when adding a change listener. The token is used for removing the added change listener.
Declaration
Objective-C
@protocol CBLListenerToken <NSObject>
Swift
protocol CBLListenerToken
-
Logger protocol
See moreDeclaration
Objective-C
@protocol CBLLogger <NSObject>
Swift
protocol CBLLogger
-
ENTERPRISE EDITION ONLY.
A delegate used by the replicator to create CBLMessageEndpointConnection objects.
See moreDeclaration
Objective-C
@protocol CBLMessageEndpointDelegate
Swift
protocol CBLMessageEndpointDelegate
-
ENTERPRISE EDITION ONLY.
The protocol implemented by the application using a custom transporation method to exchange replication data between peers.
See moreDeclaration
Objective-C
@protocol CBLMessageEndpointConnection <NSObject>
Swift
protocol CBLMessageEndpointConnection : NSObjectProtocol
-
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 moreDeclaration
Objective-C
@protocol CBLReplicatorConnection <NSObject>
Swift
protocol CBLReplicatorConnection : NSObjectProtocol
-
CBLMutableArray protocol defines a set of methods for getting and setting array data.
See moreDeclaration
Objective-C
@protocol CBLMutableArray <CBLArray, CBLMutableArrayFragment>
Swift
protocol CBLMutableArrayProtocol : CBLArrayProtocol, CBLMutableArrayFragment
-
CBLMutableArrayFragment protocol provides subscript access to CBLMutableFragment objects by index.
See moreDeclaration
Objective-C
@protocol CBLMutableArrayFragment <CBLArrayFragment>
Swift
protocol CBLMutableArrayFragment : CBLArrayFragment
-
CBLMutableDictionary protocol defines a set of methods for writing dictionary data.
See moreDeclaration
Objective-C
@protocol CBLMutableDictionary <CBLDictionary, CBLMutableDictionaryFragment>
Swift
protocol CBLMutableDictionaryProtocol : CBLDictionaryProtocol, CBLMutableDictionaryFragment
-
CBLMutableDictionaryFragment protocol provides subscript access to CBLMutableFragment objects by key.
See moreDeclaration
Objective-C
@protocol CBLMutableDictionaryFragment <CBLDictionaryFragment>
Swift
protocol CBLMutableDictionaryFragment : CBLDictionaryFragment
-
CBLMutableFragment protocol provides read and write access to the data value wrapped by a fragment object.
See moreDeclaration
Objective-C
@protocol CBLMutableFragment <CBLFragment>
Swift
protocol CBLMutableFragmentProtocol : CBLFragmentProtocol
-
ENTERPRISE EDITION ONLY : UNCOMMITTED
PredictiveModel protocol that allows to integrate machine learning model into CouchbaseLite Query via invoking the Function.prediction() function.
See moreDeclaration
Objective-C
@protocol CBLPredictiveModel <NSObject>
Swift
protocol CBLPredictiveModel : NSObjectProtocol