Added in API level 11
Deprecated in API level 31

RSMessageHandler


open class RSMessageHandler : 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()

Properties
IntArray!

Int

Int

Public constructors

RSMessageHandler

RSMessageHandler()

Public methods

run

Added in API level 11
open fun run(): Unit

Deprecated: Deprecated in Java.

Properties

mData

Added in API level 11
protected var mData: IntArray!

Deprecated: Deprecated in Java.

mID

Added in API level 11
protected var mID: Int

Deprecated: Deprecated in Java.

mLength

Added in API level 11
protected var mLength: Int

Deprecated: Deprecated in Java.