Android APIs
public static final class

ScriptGroup.Binding

extends Object
java.lang.Object
   ↳ android.support.v8.renderscript.ScriptGroup.Binding

Class Overview

Represents a binding of a value to a global variable in a kernel or invocable function. Used in closure creation.

Summary

Public Constructors
ScriptGroup.Binding(Script.FieldID field, Object value)
Returns a Binding object that binds value to field
Public Methods
Script.FieldID getField()
Returns the field ID
Object getValue()
Returns the value
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ScriptGroup.Binding (Script.FieldID field, Object value)

Returns a Binding object that binds value to field

Parameters
field the Script.FieldID of the global variable
value the value

Public Methods

public Script.FieldID getField ()

Returns the field ID

public Object getValue ()

Returns the value