語言

DeviceAdminReceiver.GetWho(Context) 方法

定義

擷取描述該裝置管理員身份的元件名稱,以便在 DevicePolicyManager 需要管理員自我識別的 API 中使用。

[Android.Runtime.Register("getWho", "(Landroid/content/Context;)Landroid/content/ComponentName;", "GetGetWho_Landroid_content_Context_Handler")]
public virtual Android.Content.ComponentName GetWho(Android.Content.Context context);
[<Android.Runtime.Register("getWho", "(Landroid/content/Context;)Landroid/content/ComponentName;", "GetGetWho_Landroid_content_Context_Handler")>]
abstract member GetWho : Android.Content.Context -> Android.Content.ComponentName
override this.GetWho : Android.Content.Context -> Android.Content.ComponentName

參數

context
Context

傳回

屬性

備註

擷取描述該裝置管理員身份的元件名稱,以便在 DevicePolicyManager 需要管理員自我識別的 API 中使用。

Java 文件 android.app.admin.DeviceAdminReceiver.getWho(android.content.Context)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於