Binding
classBinding
| 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 | |
|---|---|
Binding(field: Script.FieldID!, value: Any!)Returns a Binding object that binds value to field |
|
Public constructors
Binding
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 |