Share via


IFlashlight.IsSupportedAsync Method

Definition

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

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

Returns

true when the flashlight is available, or false when not

Applies to