Język

SettingsPreferenceMetadata.Builder.SetLaunchIntent(Intent) Method

Definition

Sets the intent to launch the host app page for this preference.

[Android.Runtime.Register("setLaunchIntent", "(Landroid/content/Intent;)Landroid/service/settings/preferences/SettingsPreferenceMetadata$Builder;", "", ApiSince=36)]
public Android.Service.Settings.Preferences.SettingsPreferenceMetadata.Builder SetLaunchIntent(Android.Content.Intent? launchIntent);
[<Android.Runtime.Register("setLaunchIntent", "(Landroid/content/Intent;)Landroid/service/settings/preferences/SettingsPreferenceMetadata$Builder;", "", ApiSince=36)>]
member this.SetLaunchIntent : Android.Content.Intent -> Android.Service.Settings.Preferences.SettingsPreferenceMetadata.Builder

Parameters

launchIntent
Intent

The intent for the preference's page in the host application, or null if none is supplied. Building clears this intent when write sensitivity is NoDirectAccess.

Returns

This builder.

Attributes

Remarks

Sets the intent to launch the host app page for this preference.

Android reference for android.service.settings.preferences.SettingsPreferenceMetadata.Builder.setLaunchIntent.

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