Language

Preference.Extras Property

Definition

Return the extras Bundle object associated with this preference, creating a new Bundle if there currently isn't one.

public virtual Android.OS.Bundle? Extras { [Android.Runtime.Register("getExtras", "()Landroid/os/Bundle;", "GetGetExtrasHandler")] get; }
[<get: Android.Runtime.Register("getExtras", "()Landroid/os/Bundle;", "GetGetExtrasHandler")>]
member this.Extras : Android.OS.Bundle

Property Value

The bundle of extra data associated with this preference. An empty bundle is created if one does not yet exist.

Attributes

Remarks

Return the extras Bundle object associated with this preference, creating a new Bundle if there currently isn't one. You can use this to get and set individual extra key/value pairs.

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

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