DeviceAdminReceiver.OnPasswordSucceeded 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| OnPasswordSucceeded(Context, Intent, UserHandle) |
在用户成功输入设备或配置文件质询密码后调用,因为收到 |
| OnPasswordSucceeded(Context, Intent) |
在用户成功输入设备或配置文件质询密码后调用,因为收到 |
OnPasswordSucceeded(Context, Intent, UserHandle)
在用户成功输入设备或配置文件质询密码后调用,因为收到 #ACTION_PASSWORD_SUCCEEDED密码。
[Android.Runtime.Register("onPasswordSucceeded", "(Landroid/content/Context;Landroid/content/Intent;Landroid/os/UserHandle;)V", "GetOnPasswordSucceeded_Landroid_content_Context_Landroid_content_Intent_Landroid_os_UserHandle_Handler", ApiSince=26)]
public virtual void OnPasswordSucceeded(Android.Content.Context context, Android.Content.Intent intent, Android.OS.UserHandle user);
[<Android.Runtime.Register("onPasswordSucceeded", "(Landroid/content/Context;Landroid/content/Intent;Landroid/os/UserHandle;)V", "GetOnPasswordSucceeded_Landroid_content_Context_Landroid_content_Intent_Landroid_os_UserHandle_Handler", ApiSince=26)>]
abstract member OnPasswordSucceeded : Android.Content.Context * Android.Content.Intent * Android.OS.UserHandle -> unit
override this.OnPasswordSucceeded : Android.Content.Context * Android.Content.Intent * Android.OS.UserHandle -> unit
参数
- context
- Context
按以下情况 #onReceive运行上下文。
- intent
- Intent
接收的意向按 #onReceive.
- user
- UserHandle
密码检查成功的配置文件用户。 若要查看此用户是当前配置文件还是父用户,请检查是否与
- 特性
注解
在用户成功输入设备或配置文件质询密码后调用,因为收到 #ACTION_PASSWORD_SUCCEEDED密码。 只有在之前失败后,才会收到第一次成功。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
OnPasswordSucceeded(Context, Intent)
在用户成功输入设备或配置文件质询密码后调用,因为收到 #ACTION_PASSWORD_SUCCEEDED密码。
[Android.Runtime.Register("onPasswordSucceeded", "(Landroid/content/Context;Landroid/content/Intent;)V", "GetOnPasswordSucceeded_Landroid_content_Context_Landroid_content_Intent_Handler")]
public virtual void OnPasswordSucceeded(Android.Content.Context context, Android.Content.Intent intent);
[<Android.Runtime.Register("onPasswordSucceeded", "(Landroid/content/Context;Landroid/content/Intent;)V", "GetOnPasswordSucceeded_Landroid_content_Context_Landroid_content_Intent_Handler")>]
abstract member OnPasswordSucceeded : Android.Content.Context * Android.Content.Intent -> unit
override this.OnPasswordSucceeded : Android.Content.Context * Android.Content.Intent -> unit
参数
- context
- Context
按以下情况 #onReceive运行上下文。
- intent
- Intent
接收的意向按 #onReceive.
- 特性
注解
在用户成功输入设备或配置文件质询密码后调用,因为收到 #ACTION_PASSWORD_SUCCEEDED密码。 只有在之前失败后,才会收到第一次成功。
此成员已弃用。 请 android.os.Build.VERSION_CODES#O改用 #onPasswordSucceeded(Context, Intent, UserHandle) 。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。