Google is committed to advancing racial equity for Black communities. See how.
Added in API level 23

Binding

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

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

Summary

Public constructors

<init>(field: Script.FieldID!, value: Any!)

Returns a Binding object that binds value to field

Public constructors

<init>

Added in API level 23
Binding(
    field: Script.FieldID!,
    value: Any!)

Returns a Binding object that binds value to field

Parameters
field Script.FieldID!: the Script.FieldID of the global variable
value Any!: the value