Android.OS.UserManager.IsUserRunning Method
Return whether the given user is actively running.

Syntax

[Android.Runtime.Register("isUserRunning", "(Landroid/os/UserHandle;)Z", "GetIsUserRunning_Landroid_os_UserHandle_Handler")]
public virtual bool IsUserRunning (UserHandle user)

Parameters

user
The user to retrieve the running state for.

Returns

Documentation for this section has not yet been entered.

Remarks

Return whether the given user is actively running. This means that the user is in the "started" state, not "stopped" -- it is currently allowed to run code through scheduled alarms, receiving broadcasts, etc. A started user may be either the current foreground user or a background user; the result here does not distinguish between the two.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17