to top
Android APIs
public static class

RenderScript.RSMessageHandler

extends Object
implements Runnable
java.lang.Object
   ↳ android.renderscript.RenderScript.RSMessageHandler

Class Overview

Base class application should derive from for handling RS messages coming from their scripts. When a script calls sendToClient the data fields will be filled in and then the run method called by a message handling thread. This will occur some time after sendToClient completes in the script.

Summary

Fields
protected int[] mData
protected int mID
protected int mLength
Public Constructors
RenderScript.RSMessageHandler()
Public Methods
void run()
Starts executing the active part of the class' code.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Runnable

Fields

protected int[] mData

Since: API Level 11

protected int mID

Since: API Level 11

protected int mLength

Since: API Level 11

Public Constructors

public RenderScript.RSMessageHandler ()

Since: API Level 11

Public Methods

public void run ()

Since: API Level 11

Starts executing the active part of the class' code. This method is called when a thread is started that has been created with a class which implements Runnable.