다음을 통해 공유


UserManager.IsQuietModeEnabled(UserHandle) Method

Definition

Returns whether the given profile is in quiet mode or not.

[Android.Runtime.Register("isQuietModeEnabled", "(Landroid/os/UserHandle;)Z", "GetIsQuietModeEnabled_Landroid_os_UserHandle_Handler", ApiSince=24)]
public virtual bool IsQuietModeEnabled (Android.OS.UserHandle? userHandle);
[<Android.Runtime.Register("isQuietModeEnabled", "(Landroid/os/UserHandle;)Z", "GetIsQuietModeEnabled_Landroid_os_UserHandle_Handler", ApiSince=24)>]
abstract member IsQuietModeEnabled : Android.OS.UserHandle -> bool
override this.IsQuietModeEnabled : Android.OS.UserHandle -> bool

Parameters

userHandle
UserHandle

The user handle of the profile to be queried.

Returns

true if the profile is in quiet mode, false otherwise.

Attributes

Remarks

Returns whether the given profile is in quiet mode or not. Notes: Quiet mode is only supported for managed profiles.

Java documentation for android.os.UserManager.isQuietModeEnabled(android.os.UserHandle).

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