Intent.ActionProfileAdded Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Broadcast sent to the parent user when an associated profile is added (the profile was created and is ready to be used).
[Android.Runtime.Register("ACTION_PROFILE_ADDED", ApiSince=34)]
public const string ActionProfileAdded;
[<Android.Runtime.Register("ACTION_PROFILE_ADDED", ApiSince=34)>]
val mutable ActionProfileAdded : string
Field Value
Implements
- Attributes
Remarks
Broadcast sent to the parent user when an associated profile is added (the profile was created and is ready to be used). Carries an extra #EXTRA_USER
that specifies the UserHandle
of the profile that was added.
This broadcast is similar to #ACTION_MANAGED_PROFILE_ADDED
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_ADDED
broadcast when a managed user is added.
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_ADDED
.
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.