TileService.UnlockAndRun(IRunnable) 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.
Prompts the user to unlock the device before executing the Runnable.
[Android.Runtime.Register("unlockAndRun", "(Ljava/lang/Runnable;)V", "", ApiSince=24)]
public void UnlockAndRun (Java.Lang.IRunnable? runnable);
[<Android.Runtime.Register("unlockAndRun", "(Ljava/lang/Runnable;)V", "", ApiSince=24)>]
member this.UnlockAndRun : Java.Lang.IRunnable -> unit
Parameters
- runnable
- IRunnable
- Attributes
Remarks
Prompts the user to unlock the device before executing the Runnable.
The user will be prompted for their current security method if applicable and if successful, runnable will be executed. The Runnable will not be executed if the user fails to unlock the device or cancels the operation.
Java documentation for android.service.quicksettings.TileService.unlockAndRun(java.lang.Runnable)
.
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.