CardEmulation.IsDeviceUnlockRequiredForService(ComponentName) 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.
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.