Share via


BarcodeScanner.RetrieveStatisticsAsync(IIterable<String>) Method

Definition

Retrieves the requested statistics from the barcode scanner.

public:
 virtual IAsyncOperation<IBuffer ^> ^ RetrieveStatisticsAsync(IIterable<Platform::String ^> ^ statisticsCategories) = RetrieveStatisticsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IBuffer> RetrieveStatisticsAsync(IIterable<winrt::hstring> const& statisticsCategories);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IBuffer> RetrieveStatisticsAsync(IEnumerable<string> statisticsCategories);
function retrieveStatisticsAsync(statisticsCategories)
Public Function RetrieveStatisticsAsync (statisticsCategories As IEnumerable(Of String)) As IAsyncOperation(Of IBuffer)

Parameters

statisticsCategories

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The list of statistics to retrieve.

  • An empty string ("") retrieves all statistics.
  • "U_" retrieves all UnifiedPOS defined statistics.
  • "M_" retrieves all manufacturer defined statistics.
  • "name1" and/or "name2" retrieves specific named statistics as defined by the UnifiedPOS or manufacturer.
  • Any combination of individual and groups names ("name3", "U_", "M_").

Returns

IBuffer representing the requested statistics.

Attributes

Remarks

The result does not contain any duplicate statistics even if the input contains duplicates.

Applies to