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)
取得します。
親プロファイルの構成セットを取得するために、 DevicePolicyManager
によって #getParentProfileInstance(ComponentName)
返されるインスタンスでこのメソッドを呼び出すことができます。
機能をサポート PackageManager#FEATURE_SECURE_LOCK_SCREEN
していないデバイスでは、常に null が返されます。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。