Partager via


Preference.PeekExtras Method

Definition

Return the extras Bundle object associated with this preference, returning null if there is not currently one.

[Android.Runtime.Register("peekExtras", "()Landroid/os/Bundle;", "GetPeekExtrasHandler")]
public virtual Android.OS.Bundle? PeekExtras ();
[<Android.Runtime.Register("peekExtras", "()Landroid/os/Bundle;", "GetPeekExtrasHandler")>]
abstract member PeekExtras : unit -> Android.OS.Bundle
override this.PeekExtras : unit -> Android.OS.Bundle

Returns

Attributes

Remarks

Return the extras Bundle object associated with this preference, returning null if there is not currently one.

Java documentation for android.preference.Preference.peekExtras().

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