added in API level 23


public static final class ScriptGroup.Future
extends Object

   ↳ 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 ScriptGroup.Closure.getReturn() or ScriptGroup.Closure.getGlobal(Script.FieldID) method.


Inherited methods