Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
3.1.0, Beryllium
-
.NET, C, iOS, Java, Java-Android
-
Security Level: Public
-
2
Description
ReplicatorConfiguration's filters and conflict resolver properties are deprecated. Use the corresponding filters and conflict resolver properties in the CollectionConfiguration class instead. The deprecated filters and conflict resolver properties will be for the default collection.
Deprecated APIs
Java / Android
- final ReplicatorConfiguration setDocumentIDs(@Nullable List<String> documentIDs)
- final ReplicatorConfiguration setChannels(@Nullable List<String> channels)
- final ReplicatorConfiguration setPullFilter(@Nullable ReplicationFilter pullFilter)
- final ReplicatorConfiguration setPushFilter(@Nullable ReplicationFilter pushFilter)
- final ReplicatorConfiguration setConflictResolver(@Nullable ConflictResolver conflictResolver)
- final List<String> getDocumentIDs()
- final List<String> getChannels()
- final ReplicationFilter getPullFilter()
- final ReplicationFilter getPushFilter()
- final ConflictResolver getConflictResolver()
Swift
- var documentIDs: [String]?
- var channels: [String]?
- var pullFilter: ReplicationFilter?
- var pushFilter: ReplicationFilter?
- var conflictResolver: ConflictResolverProtocol?
Objective-C (CBLReplicatorConfiguration)
- @property (nonatomic, nullable) NSArray<NSString*>* documentIDs
- @property (nonatomic, nullable) NSArray<NSString*>* channels
- @property (nonatomic, nullable) CBLReplicationFilter pullFilter
- @property (nonatomic, nullable) CBLReplicationFilter pushFilter
- @property (nonatomic, nullable) id<CBLConflictResolver> conflictResolver
.NET
- IList<string> DocumentIDs
- IList<string> Channels
- Func<Document, DocumentFlags, bool> PullFilter
- Func<Document, DocumentFlags, bool> PushFilter
- var conflictResolver: ConflictResolverProtocol?
C (CBLReplicatorConfiguration)
- FLArray _cbl_nullable documentIDs
- FLArray _cbl_nullable channels
- CBLReplicationFilter _cbl_nullable pullFilter
- CBLReplicationFilter _cbl_nullable pushFilter
- CBLConflictResolver _cbl_nullable conflictResolver