Docs Menu

Class Realm.Callback

On this page

  • io.realm
  • Constructors
  • Method Summary
  • Inherited Methods
  • Constructor Detail
  • Method Detail
  • onError
  • onSuccess
java.lang.Object
io.realm.BaseRealm.InstanceCallback
io.realm.Realm.Callback

Enclosing class:

Realm

Constructor and Description
Modifier and Type
Method and Description
public void
Throwable exception
)

Deliver an error happens when creating the Realm instance to the caller thread.

public abstract void
  • Methods inherited from class java.lang.Object : getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize
  • Methods inherited from class io.realm.BaseRealm.InstanceCallback: onSuccess , onError
public Callback ()

public void onError (
Throwable exception
)

Deliver an error happens when creating the Realm instance to the caller thread. The default implementation will throw an exception on the caller thread.

Overrides

onError in class InstanceCallback

public abstract void onSuccess (
Realm realm
)

Overrides

onSuccess in class InstanceCallback

←  Class RealmInterface Realm.Transaction →
Give Feedback
© 2022 MongoDB, Inc.

About

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