BarcodeScanner.RetrieveStatisticsAsync(IIterable<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.