CrossProfileApps.CanRequestInteractAcrossProfiles Method

Definition

Returns whether the calling package can request to navigate the user to the relevant settings page to request user consent to interact across profiles.

[Android.Runtime.Register("canRequestInteractAcrossProfiles", "()Z", "GetCanRequestInteractAcrossProfilesHandler", ApiSince=30)]
public virtual bool CanRequestInteractAcrossProfiles ();
[<Android.Runtime.Register("canRequestInteractAcrossProfiles", "()Z", "GetCanRequestInteractAcrossProfilesHandler", ApiSince=30)>]
abstract member CanRequestInteractAcrossProfiles : unit -> bool
override this.CanRequestInteractAcrossProfiles : unit -> bool

Returns

Boolean

true if the calling package can request to interact across profiles.

Attributes

Remarks

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

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