Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
Docs Menu
Docs Home
/ /
io.realm.mongodb

Interface RealmResultTask

Implemented interfaces:

  • io.realm.RealmAsyncTask

RealmResultTask es una versión específica de RealmAsyncTask que proporciona un mecanismo para trabajar con operaciones asincrónicas realizadas en MongoDB Realm que producen un resultado.

Esta clase ofrece tanto bloqueo (get ) y llamadas a métodos no bloqueantes (getAsync ).

Modificador y Tipo
Método y descripción

public T

get ()

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

public void

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

public T get ()

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

Devuelve

the result of the operation executed by this task.

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

Parámetros

Throws

  • Excepción de estado ilegal- si se llama desde un hilo sin un android.os.Looper o desde un hilo android.app.IntentService.

Volver

RealmEventStreamTask

En esta página