DevicePolicyManager.GetAffiliationIds(ComponentName) 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.
Returns the set of affiliation ids previously set via #setAffiliationIds
, or an
empty set if none have been set.
[Android.Runtime.Register("getAffiliationIds", "(Landroid/content/ComponentName;)Ljava/util/Set;", "GetGetAffiliationIds_Landroid_content_ComponentName_Handler", ApiSince=26)]
public virtual System.Collections.Generic.ICollection<string> GetAffiliationIds (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getAffiliationIds", "(Landroid/content/ComponentName;)Ljava/util/Set;", "GetGetAffiliationIds_Landroid_content_ComponentName_Handler", ApiSince=26)>]
abstract member GetAffiliationIds : Android.Content.ComponentName -> System.Collections.Generic.ICollection<string>
override this.GetAffiliationIds : Android.Content.ComponentName -> System.Collections.Generic.ICollection<string>
Parameters
- admin
- ComponentName
Returns
- Attributes
Remarks
Returns the set of affiliation ids previously set via #setAffiliationIds
, or an empty set if none have been set.
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.