Link Search Menu Expand Document

Root.ExternalMessage Event


Obtained by ExternalObject.GetMessageHandler method

Occurs when sending a message (android.os.Message instance) to a handler.

This event does not occur except for a security level of 0 (lowest).

The following child objects are attached to the Event object.

Type Name Description
Number what Represents the type of message.
Equivalent to what field of the sent Message instance.
Number arg1 An integer value parameter.
Equivalent to the arg1 field of the sent Message instance.
Number arg2 Integer parameter.
Equivalent to the arg2 field of the sent Message instance.
ExternalObject obj Equivalent to the obj field of the sent Message instance.
If the value of the obj field is null , an ExternalObject object indicating a null reference will be added.
You can check if it is a null reference object by using the ExternalObject.IsNullRef property.


Can only be used in AI
Added since AI Ver.1.0.2