UserManager.IsUserRunning(UserHandle) Method
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.
Return whether the given user is actively running.
[Android.Runtime.Register("isUserRunning", "(Landroid/os/UserHandle;)Z", "GetIsUserRunning_Landroid_os_UserHandle_Handler")]
public virtual bool IsUserRunning (Android.OS.UserHandle? user);
[<Android.Runtime.Register("isUserRunning", "(Landroid/os/UserHandle;)Z", "GetIsUserRunning_Landroid_os_UserHandle_Handler")>]
abstract member IsUserRunning : Android.OS.UserHandle -> bool
override this.IsUserRunning : Android.OS.UserHandle -> bool
Parameters
- user
- UserHandle
The user to retrieve the running state for.
Returns
- Attributes
Remarks
Java documentation for android.os.UserManager.isUserRunning(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.