UserManager.IsUserForeground Property
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.
Checks if the context user is running in the foreground.
public virtual bool IsUserForeground { [Android.Runtime.Register("isUserForeground", "()Z", "GetIsUserForegroundHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("isUserForeground", "()Z", "GetIsUserForegroundHandler", ApiSince=31)>]
member this.IsUserForeground : bool
Property Value
whether the context user is running in the foreground.
- Attributes
Remarks
Checks if the context user is running in the foreground.
Java documentation for android.os.UserManager.isUserForeground()
.
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.