Added in API level 23
Deprecated in API level 31

Future

class Future
kotlin.Any
   ↳ android.renderscript.ScriptGroup.Future

An opaque class for futures

A future represents an output of a closure, either the return value of the function, or the value of a global variable written by the function. A future is created by calling the Closure#getReturn or Closure#getGlobal method.

Summary