Docs Menu

Docs HomeDevelop ApplicationsAtlas Device SDK

Class Realm.Callback

On this page

  • io.realm
  • Constructors
  • Method Summary
  • Inherited Methods
  • Constructor Detail
  • Method Detail
  • onError
  • onSuccess
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 →