Share via


NEProvider.SleepAsync Method

Definition

Method that is called when the device is about to sleep.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task SleepAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SleepAsync : unit -> System.Threading.Tasks.Task
override this.SleepAsync : unit -> System.Threading.Tasks.Task

Returns

A task that represents the asynchronous Sleep operation

Attributes

Applies to