The base class from which an application should derive in order to receive RS messages from scripts. When a script calls rsSendToClient, the data fields will be filled, and the run method will be called on a separate thread. This will occur some time after rsSendToClient completes in the script, as rsSendToClient is asynchronous. Message handlers are not guaranteed to have completed when android.renderscript.RenderScript#finish returns.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.