Partager via


Message.PeekData Method

Definition

Like getData(), but does not lazily create the Bundle.

[Android.Runtime.Register("peekData", "()Landroid/os/Bundle;", "")]
public Android.OS.Bundle? PeekData ();
[<Android.Runtime.Register("peekData", "()Landroid/os/Bundle;", "")>]
member this.PeekData : unit -> Android.OS.Bundle

Returns

Attributes

Remarks

Like getData(), but does not lazily create the Bundle. A null is returned if the Bundle does not already exist. See #getData for further information on this.

Java documentation for android.os.Message.peekData().

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

See also