Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-4314

ReplicatorConfiguration APIs with Database object are deprecated

    XMLWordPrintable

Details

    • 0

    Description

      The ReplicatorConfiguration's constructor with the Database object and the database property are deprecated. Use ReplicatorConfiguration(Endpoint endpoint) with addCollection(Collection collection) and the collections property instead.

      Deprecated API

      Java / Android

      • ReplicatorConfiguration(@NonNull Database database, @NonNull Endpoint target)
      • final Database getDatabase()

      Swift

      • init(database: Database, target: Endpoint)
      • var database: Database

      Objective-C (CBLReplicatorConfiguration)

      • init(database: Database, target: Endpoint)
      • @property (nonatomic, readonly) CBLDatabase* database

      .NET

      • ReplicatorConfiguration([NotNull] Database database, [NotNull] IEndpoint target)
      • Database Database

      C (CBLReplicatorConfiguration)

      • CBLDatabase* _cbl_nullable database;

       

      Attachments

        Activity

          People

            The Lite The Lite
            pasin Pasin Suriyentrakorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty