DevicePolicyManager.GetCrossProfileCalendarPackages(ComponentName) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
獲得一組套件名稱,允許存取跨設定型行事曆 API。
[Android.Runtime.Register("getCrossProfileCalendarPackages", "(Landroid/content/ComponentName;)Ljava/util/Set;", "GetGetCrossProfileCalendarPackages_Landroid_content_ComponentName_Handler", ApiSince=29)]
public virtual System.Collections.Generic.ICollection<string>? GetCrossProfileCalendarPackages(Android.Content.ComponentName admin);
[<Android.Runtime.Register("getCrossProfileCalendarPackages", "(Landroid/content/ComponentName;)Ljava/util/Set;", "GetGetCrossProfileCalendarPackages_Landroid_content_ComponentName_Handler", ApiSince=29)>]
abstract member GetCrossProfileCalendarPackages : Android.Content.ComponentName -> System.Collections.Generic.ICollection<string>
override this.GetCrossProfileCalendarPackages : Android.Content.ComponentName -> System.Collections.Generic.ICollection<string>
參數
- admin
- ComponentName
這個請求就是與此 DeviceAdminReceiver 相關聯的
傳回
先前允許的 #setCrossProfileCalendarPackages(ComponentName, Set)套件名稱集合,若未被允許,則為空集合
- 屬性
備註
獲得一組套件名稱,允許存取跨設定型行事曆 API。
是受管理帳號的帳號擁有者打來的。
此會員已被棄用。 請使用 #setCrossProfilePackages(ComponentName, Set)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。