DevicePolicyManager.GetTrustAgentConfiguration メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
すべてのデバイス管理者の #setTrustAgentConfiguration(ComponentName, ComponentName, PersistableBundle) に対するすべての呼び出しの集計に基づいて、特定の信頼エージェントの構成を取得します。
[Android.Runtime.Register("getTrustAgentConfiguration", "(Landroid/content/ComponentName;Landroid/content/ComponentName;)Ljava/util/List;", "GetGetTrustAgentConfiguration_Landroid_content_ComponentName_Landroid_content_ComponentName_Handler", ApiSince=23)]
public virtual System.Collections.Generic.IList<Android.OS.PersistableBundle>? GetTrustAgentConfiguration(Android.Content.ComponentName? admin, Android.Content.ComponentName agent);
[<Android.Runtime.Register("getTrustAgentConfiguration", "(Landroid/content/ComponentName;Landroid/content/ComponentName;)Ljava/util/List;", "GetGetTrustAgentConfiguration_Landroid_content_ComponentName_Landroid_content_ComponentName_Handler", ApiSince=23)>]
abstract member GetTrustAgentConfiguration : Android.Content.ComponentName * Android.Content.ComponentName -> System.Collections.Generic.IList<Android.OS.PersistableBundle>
override this.GetTrustAgentConfiguration : Android.Content.ComponentName * Android.Content.ComponentName -> System.Collections.Generic.IList<Android.OS.PersistableBundle>
パラメーター
- admin
- ComponentName
この要求が関連付けられている DeviceAdminReceiver 。 null の場合、この関数は、 #KEYGUARD_DISABLE_TRUST_AGENTSを宣言するすべての管理者の構成の一覧を返します。 管理者が #KEYGUARD_DISABLE_TRUST_AGENTS 宣言しても呼び出さない場合
#setTrustAgentConfiguration(ComponentName, ComponentName, PersistableBundle) これを行うか、null 構成で呼び出します。null が返されます。
- agent
- ComponentName
有効な機能を取得するコンポーネント。
返品
指定された信頼エージェントの構成。
- 属性
注釈
すべてのデバイス管理者の #setTrustAgentConfiguration(ComponentName, ComponentName, PersistableBundle) に対するすべての呼び出しの集計に基づいて、特定の信頼エージェントの構成を取得します。
このメソッドは、親プロファイルの構成セットを取得するために、#getParentProfileInstance(ComponentName)によって返されるDevicePolicyManager インスタンスで呼び出すことができます。
PackageManager#FEATURE_SECURE_LOCK_SCREEN機能をサポートしていないデバイスでは、常に null が返されます。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。