DevicePolicyManager.ListForegroundAffiliatedUsers Method

Definition

Gets the list of #isAffiliatedUser() affiliated users running on foreground.

[Android.Runtime.Register("listForegroundAffiliatedUsers", "()Ljava/util/List;", "GetListForegroundAffiliatedUsersHandler", ApiSince=31)]
public virtual System.Collections.Generic.IList<Android.OS.UserHandle> ListForegroundAffiliatedUsers ();
[<Android.Runtime.Register("listForegroundAffiliatedUsers", "()Ljava/util/List;", "GetListForegroundAffiliatedUsersHandler", ApiSince=31)>]
abstract member ListForegroundAffiliatedUsers : unit -> System.Collections.Generic.IList<Android.OS.UserHandle>
override this.ListForegroundAffiliatedUsers : unit -> System.Collections.Generic.IList<Android.OS.UserHandle>

Returns

list of #isAffiliatedUser() affiliated users running on foreground.

Attributes

Remarks

Gets the list of #isAffiliatedUser() affiliated users running on foreground.

Java documentation for android.app.admin.DevicePolicyManager.listForegroundAffiliatedUsers().

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