次の方法で共有


CrossProfileApps.CreateRequestInteractAcrossProfilesIntent Method

Definition

Returns an Intent to open the settings page that allows the user to decide whether the calling app can interact across profiles.

[Android.Runtime.Register("createRequestInteractAcrossProfilesIntent", "()Landroid/content/Intent;", "GetCreateRequestInteractAcrossProfilesIntentHandler", ApiSince=30)]
public virtual Android.Content.Intent CreateRequestInteractAcrossProfilesIntent ();
[<Android.Runtime.Register("createRequestInteractAcrossProfilesIntent", "()Landroid/content/Intent;", "GetCreateRequestInteractAcrossProfilesIntentHandler", ApiSince=30)>]
abstract member CreateRequestInteractAcrossProfilesIntent : unit -> Android.Content.Intent
override this.CreateRequestInteractAcrossProfilesIntent : unit -> Android.Content.Intent

Returns

an Intent to open the settings page that allows the user to decide whether the app can interact across profiles

Attributes

Remarks

Returns an Intent to open the settings page that allows the user to decide whether the calling app can interact across profiles.

The method #canRequestInteractAcrossProfiles() must be returning true.

Note that the user may already have given consent and the app may already be able to interact across profiles, even if #canRequestInteractAcrossProfiles() is true. The current ability to interact across profiles is given by #canInteractAcrossProfiles().

Java documentation for android.content.pm.CrossProfileApps.createRequestInteractAcrossProfilesIntent().

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