Docs Menu

Docs HomeDevelop ApplicationsAtlas Device SDK

Interface RealmEventStreamTask

On this page

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

Implemented interfaces:

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
public BaseChangeEvent

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.

←  Interface RealmEventStreamAsyncTaskInterface RealmResultTask →