次の方法で共有


Handler.GetMessageName(Message) Method

Definition

Returns a string representing the name of the specified message.

[Android.Runtime.Register("getMessageName", "(Landroid/os/Message;)Ljava/lang/String;", "GetGetMessageName_Landroid_os_Message_Handler")]
public virtual string GetMessageName (Android.OS.Message message);
[<Android.Runtime.Register("getMessageName", "(Landroid/os/Message;)Ljava/lang/String;", "GetGetMessageName_Landroid_os_Message_Handler")>]
abstract member GetMessageName : Android.OS.Message -> string
override this.GetMessageName : Android.OS.Message -> string

Parameters

message
Message

The message whose name is being queried

Returns

Attributes

Remarks

Returns a string representing the name of the specified message. The default implementation will either return the class name of the message callback if any, or the hexadecimal representation of the message "what" field.

Java documentation for android.os.Handler.getMessageName(android.os.Message).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to