Docs Menu

Interface SubscriptionSet.StateChangeCallback

On this page

  • io.realm.mongodb.sync
  • Method Summary
  • Method Detail
  • onError
  • onStateChange

Enclosing class:


Callback used when asynchronously waiting for the server to process the subscription set. When the server either succeed or fail to apply the subscription set, the result is returned in onStateChange . This include errors from the server. If a local exception is thrown, it is reported through on onError() .

Modifier and Type
Method and Description
public void
Throwable e
public void
public void onError (
public void onStateChange (
SubscriptionSet subscriptions
←  Enum SubscriptionSet.StateInterface SubscriptionSet.UpdateAsyncCallback →
Give Feedback
© 2022 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.