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

Interface RealmEventStreamTask

On this page

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

Implemented interfaces:

  • io.realm.RealmAsyncTask

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

Modifier and Type
Method and Description
getNext ()

Blocks the thread on which the call is made until the result of the operation arrives.

public boolean

Whether or not the stream is currently open.

Blocks the thread on which the call is made until the result of the operation arrives.

Returns

the next event in the stream.

Throws

public boolean isOpen ()

Whether or not the stream is currently open.

Returns

true if open, false if not.

Back

RealmEventStreamAsyncTask