Flashlight.IsSupportedAsync Method

Definition

Checks if the flashlight is available and can be turned on or off.

public:
 static System::Threading::Tasks::Task<bool> ^ IsSupportedAsync();
public static System.Threading.Tasks.Task<bool> IsSupportedAsync ();
static member IsSupportedAsync : unit -> System.Threading.Tasks.Task<bool>
Public Shared Function IsSupportedAsync () As Task(Of Boolean)

Returns

true when the flashlight is available, or false when not

Applies to