Docs Menu

Docs HomeDevelop ApplicationsAtlas Device SDKs

Interface RealmEventStreamAsyncTask

On this page

  • io.realm.mongodb
  • Method Summary
  • Inherited Methods
  • Method Detail
  • get
  • isOpen

Implemented interfaces:

The RealmEventStreamAsyncTask is a specific version of RealmAsyncTask that provides a non-blocking mechanism to work with asynchronous operations carried out against MongoDB Realm that yield stream results.

Modifier and Type
Method and Description
public void

Provides a way to subscribe to asynchronous operations via a callback, which handles both results and errors.

public boolean

Whether or not the stream is currently open.

Provides a way to subscribe to asynchronous operations via a callback, which handles both results and errors.

Parameters

  • callback - the App.Callback designed to receive event results.

Throws

public boolean isOpen ()

Whether or not the stream is currently open.

Returns

true if open, false if not.

← Class ErrorCode.Type