Docs Menu
Docs Home
/ /
Atlas Device SDKs
/ / /

Interface SubscriptionSet.StateChangeCallback

On this page

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

Enclosing class:

SubscriptionSet

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
onError (
)
public void
public void onError (
)
public void onStateChange (
SubscriptionSet subscriptions
)

Back

SubscriptionSet.State