DeviceAdminReceiver.OnLockTaskModeEntering(Context, Intent, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelé lorsqu’un appareil entre en mode tâche de verrouillage.
[Android.Runtime.Register("onLockTaskModeEntering", "(Landroid/content/Context;Landroid/content/Intent;Ljava/lang/String;)V", "GetOnLockTaskModeEntering_Landroid_content_Context_Landroid_content_Intent_Ljava_lang_String_Handler")]
public virtual void OnLockTaskModeEntering(Android.Content.Context context, Android.Content.Intent intent, string pkg);
[<Android.Runtime.Register("onLockTaskModeEntering", "(Landroid/content/Context;Landroid/content/Intent;Ljava/lang/String;)V", "GetOnLockTaskModeEntering_Landroid_content_Context_Landroid_content_Intent_Ljava_lang_String_Handler")>]
abstract member OnLockTaskModeEntering : Android.Content.Context * Android.Content.Intent * string -> unit
override this.OnLockTaskModeEntering : Android.Content.Context * Android.Content.Intent * string -> unit
Paramètres
- context
- Context
Contexte en cours d’exécution en fonction #onReceivede .
- intent
- Intent
Intention reçue en fonction #onReceivede .
- pkg
- String
Package autorisé à l’aide du mode de tâche de verrouillage.
- Attributs
Remarques
Appelé lorsqu’un appareil entre en mode tâche de verrouillage.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.