Share via


PreferenceActivity.AddPreferencesFromIntent(Intent) Method

Definition

Caution

deprecated

Adds preferences from activities that match the given Intent.

[Android.Runtime.Register("addPreferencesFromIntent", "(Landroid/content/Intent;)V", "GetAddPreferencesFromIntent_Landroid_content_Intent_Handler")]
[System.Obsolete("deprecated")]
public virtual void AddPreferencesFromIntent (Android.Content.Intent? intent);
[<Android.Runtime.Register("addPreferencesFromIntent", "(Landroid/content/Intent;)V", "GetAddPreferencesFromIntent_Landroid_content_Intent_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member AddPreferencesFromIntent : Android.Content.Intent -> unit
override this.AddPreferencesFromIntent : Android.Content.Intent -> unit

Parameters

intent
Intent

The Intent to query activities.

Attributes

Remarks

Adds preferences from activities that match the given Intent.

This member is deprecated. This function is not relevant for a modern fragment-based PreferenceActivity.

Java documentation for android.preference.PreferenceActivity.addPreferencesFromIntent(android.content.Intent).

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