Language

CardEmulation.IsDeviceUnlockRequiredForService(ComponentName) Method

Definition

Checks whether the device must be unlocked for the service to be activated.

[Android.Runtime.Register("isDeviceUnlockRequiredForService", "(Landroid/content/ComponentName;)Z", "", ApiSince=36)]
public bool IsDeviceUnlockRequiredForService(Android.Content.ComponentName service);
[<Android.Runtime.Register("isDeviceUnlockRequiredForService", "(Landroid/content/ComponentName;)Z", "", ApiSince=36)>]
member this.IsDeviceUnlockRequiredForService : Android.Content.ComponentName -> bool

Parameters

service
ComponentName

The component name of the service. This value cannot be null.

Returns

True if the device must be unlocked for the service to be activated, false otherwise

Attributes

Remarks

Checks whether the device must be unlocked for the service to be activated.

Android reference for android.nfc.cardemulation.CardEmulation.isDeviceUnlockRequiredForService.

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