BarcodeScanner.CheckHealthAsync(UnifiedPosHealthCheckLevel) Method

Definition

Tests the state of the barcode scanner.

public:
 virtual IAsyncOperation<Platform::String ^> ^ CheckHealthAsync(UnifiedPosHealthCheckLevel level) = CheckHealthAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<winrt::hstring> CheckHealthAsync(UnifiedPosHealthCheckLevel const& level);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<string> CheckHealthAsync(UnifiedPosHealthCheckLevel level);
function checkHealthAsync(level)
Public Function CheckHealthAsync (level As UnifiedPosHealthCheckLevel) As IAsyncOperation(Of String)

Parameters

level
UnifiedPosHealthCheckLevel

The specified health check level.

Returns

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

A text description of the test result. Returns an error if the specified check level is not supported by the device.

Attributes

Applies to