次の方法で共有


DeviceAdminReceiver.OnLockTaskModeEntering(Context, Intent, String) Method

Definition

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.

Java documentation for android.app.admin.DeviceAdminReceiver.onLockTaskModeEntering(android.content.Context, android.content.Intent, java.lang.String).

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.

Applies to