DevicePolicyManager.GetPermittedCrossProfileNotificationListeners メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
プロファイル所有者が設定した、このマネージド プロファイルからの通知の受信に を使用 android.service.notification.NotificationListenerService
することを許可したプライマリ ユーザーにインストールされているパッケージの一覧を返します。
[Android.Runtime.Register("getPermittedCrossProfileNotificationListeners", "(Landroid/content/ComponentName;)Ljava/util/List;", "GetGetPermittedCrossProfileNotificationListeners_Landroid_content_ComponentName_Handler", ApiSince=26)]
public virtual System.Collections.Generic.IList<string>? GetPermittedCrossProfileNotificationListeners (Android.Content.ComponentName admin);
[<Android.Runtime.Register("getPermittedCrossProfileNotificationListeners", "(Landroid/content/ComponentName;)Ljava/util/List;", "GetGetPermittedCrossProfileNotificationListeners_Landroid_content_ComponentName_Handler", ApiSince=26)>]
abstract member GetPermittedCrossProfileNotificationListeners : Android.Content.ComponentName -> System.Collections.Generic.IList<string>
override this.GetPermittedCrossProfileNotificationListeners : Android.Content.ComponentName -> System.Collections.Generic.IList<string>
パラメーター
- admin
- ComponentName
戻り値
- 属性
注釈
プロファイル所有者が設定した、このマネージド プロファイルからの通知の受信に を使用 android.service.notification.NotificationListenerService
することを許可したプライマリ ユーザーにインストールされているパッケージの一覧を返します。
空のリストは、システム以外の通知リスナー サービスが許可されていないことを意味します。 戻り値は null
、すべての通知リスナーが許可されていることを示します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。