RSMessageHandler
open classRSMessageHandler: Runnable
| kotlin.Any | |
| ↳ | android.renderscript.RenderScript.RSMessageHandler |
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.
Summary
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| open Unit |
run()When an object implementing interface |
| Properties | |
|---|---|
| IntArray! | |
| Int | |
| Int | |
Public constructors
RSMessageHandler
RSMessageHandler()
Public methods
run
open funrun(): Unit
Deprecated: Deprecated in Java.
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
The general contract of the method run is that it may take any action whatsoever.