Android.OS.Message.Data Property
Obtains a Bundle of arbitrary data associated with this event, lazily creating it if necessary.

Syntax

[get: Android.Runtime.Register("getData", "()Landroid/os/Bundle;", "GetGetDataHandler")]
[set: Android.Runtime.Register("setData", "(Landroid/os/Bundle;)V", "GetSetData_Landroid_os_Bundle_Handler")]
public Bundle Data { get; set; }

See Also

Message.PeekData
Message.Data
Message.Data
Message.PeekData

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Obtains a Bundle of arbitrary data associated with this event, lazily creating it if necessary. Set this value by calling Message.Data. Note that when transferring data across processes via Android.OS.Messenger, you will need to set your ClassLoader on the Bundle via Bundle.SetClassLoader(Java.Lang.ClassLoader) so that it can instantiate your objects when you retrieve them.

Set method documentation [Android Documentation]

Sets a Bundle of arbitrary data values. Use arg1 and arg2 members as a lower cost way to send a few simple integer values, if you can.

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1