Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
3.1.0, Beryllium
-
.NET, C, iOS, Java, Java-Android
-
Security Level: Public
-
0
Description
The Replicator's getPendingDocumentIds() and isDocumentPending(String id) are deprecated. Use getPendingDocumentIds(Collection collection) and isDocumentPending(String id, Collection collection) respectively instead.
Deprecated APIs
Java / Android
- Set<String> getPendingDocumentIds() throws CouchbaseLiteException
- boolean isDocumentPending(@NonNull String docId)
Swift
- func pendingDocumentIds() throws -> Set<String>
- func isDocumentPending(_ documentID: String) throws -> Bool
Objective-C (CBLReplicatorConfiguration)
- - (nullable NSSet<NSString*>*) pendingDocumentIDs: (NSError**)error
- - (BOOL) isDocumentPending: (NSString*)documentID error: (NSError**)error
.NET
- IImmutableSet<string> GetPendingDocumentIDs()
- bool IsDocumentPending([NotNull]string documentID)
C
- FLDict _cbl_nullable CBLReplicator_PendingDocumentIDs(CBLReplicator*, CBLError* _cbl_nullable outError)
bool CBLReplicator_IsDocumentPending(CBLReplicator *repl, FLString docID, CBLError* _cbl_nullable outError)