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

Added in API level 11

protected int mID

Added in API level 11

protected int mLength

Added in API level 11

Public Constructors

public RenderScript.RSMessageHandler ()

Added in API level 11

Public Methods

public void run ()

Added in 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.