get

abstract override fun get(): T

Waits if necessary for the request to complete, and then retrieves its result.

Since

1.0.0

Throws

If the app is not authorized to perform the specified operation.

If the app requests the specified operation with invalid conditions.

If the platform experienced an internal error, that cannot be resolved by the app.

If the platform is not ready to serve the specified operation.

If the app cancels the operation.


abstract operator override fun get(timeout: Long, unit: TimeUnit): T

Waits if necessary for the request to complete, but no longer than the specified time, and then retrieves its result, if available.

Since

1.0.0

Parameters

timeout

Time to wait for the request to complete.

unit

Measurement unit for timeout.

Throws

If the app is not authorized to perform the specified operation.

If the app requests the specified operation with invalid conditions.

If the platform experienced an internal error, that cannot be resolved by the app.

If the platform is not ready to serve the specified operation.

If the app cancels the operation.

If the wait timed out.

Preferences Submitted

You have successfully updated your cookie preferences.