다음을 통해 공유


Intent.ActionProfileAvailable Field

Definition

Broadcast sent to the primary user when an associated profile has become available.

[Android.Runtime.Register("ACTION_PROFILE_AVAILABLE", ApiSince=35)]
public const string ActionProfileAvailable;
[<Android.Runtime.Register("ACTION_PROFILE_AVAILABLE", ApiSince=35)>]
val mutable ActionProfileAvailable : string

Field Value

Implements

Attributes

Remarks

Broadcast sent to the primary user when an associated profile has become available. This is sent when a user disables quiet mode for the profile. Carries an extra #EXTRA_USER that specifies the UserHandle of the profile. When quiet mode is changed, this broadcast will carry a boolean extra #EXTRA_QUIET_MODE indicating the new state of quiet mode. This is only sent to registered receivers, not manifest receivers.

This broadcast is similar to #ACTION_MANAGED_PROFILE_AVAILABLE but functions as a generic broadcast for all users of type android.os.UserManager#isProfile()}. In case of a managed profile, both #ACTION_MANAGED_PROFILE_AVAILABLE and #ACTION_PROFILE_AVAILABLE broadcasts are sent.

Java documentation for android.content.Intent.ACTION_PROFILE_AVAILABLE.

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