Freigeben über


Intent.ActionProfileRemoved Field

Definition

Broadcast sent to the parent user when an associated profile is removed.

[Android.Runtime.Register("ACTION_PROFILE_REMOVED", ApiSince=34)]
public const string ActionProfileRemoved;
[<Android.Runtime.Register("ACTION_PROFILE_REMOVED", ApiSince=34)>]
val mutable ActionProfileRemoved : string

Field Value

Implements

Attributes

Remarks

Broadcast sent to the parent user when an associated profile is removed. Carries an extra #EXTRA_USER that specifies the UserHandle of the profile that was removed.

This broadcast is similar to #ACTION_MANAGED_PROFILE_REMOVED but functions as a generic broadcast for all users of type android.content.pm.UserInfo#isProfile()}. It is sent in addition to the #ACTION_MANAGED_PROFILE_REMOVED broadcast when a managed user is removed.

Only applications (for example Launchers) that need to display merged content across both the parent user and its associated profiles need to worry about this broadcast. This is only sent to registered receivers created with Context#registerReceiver. It is not sent to manifest receivers.

Java documentation for android.content.Intent.ACTION_PROFILE_REMOVED.

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