DeviceAdminReceiver.OnLockTaskModeEntering(Context, Intent, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when a device is entering lock task mode.
[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
Parameters
- context
- Context
The running context as per #onReceive
.
- intent
- Intent
The received intent as per #onReceive
.
- pkg
- String
The authorized package using lock task mode.
- Attributes
Remarks
Called when a device is entering lock task mode.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.