Share via


ClaimedBarcodeScanner.UpdateStatisticsAsync Method

Definition

Updates the specified statistics.

public:
 virtual IAsyncAction ^ UpdateStatisticsAsync(IIterable<IKeyValuePair<Platform::String ^, Platform::String ^> ^> ^ statistics) = UpdateStatisticsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction UpdateStatisticsAsync(IIterable<IKeyValuePair<winrt::hstring, winrt::hstring const&>> const& statistics);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction UpdateStatisticsAsync(IEnumerable<KeyValuePair<string,string>> statistics);
function updateStatisticsAsync(statistics)
Public Function UpdateStatisticsAsync (statistics As IEnumerable(Of KeyValuePair(Of String, String))) As IAsyncAction

Parameters

statistics

IIterable<IKeyValuePair<String,String>>

IEnumerable<KeyValuePair<String,String>>

IIterable<IKeyValuePair<Platform::String,Platform::String>>

IIterable<IKeyValuePair<winrt::hstring,winrt::hstring>>

The list of key-value pairs of statistics to update.

  • An empty string ("", "value1") sets all statistics that can be set to value1.
  • "U_", "value2" sets all UnifiedPOS defined statistics that can be set to value2.
  • "M_", "value3" sets all manufacturer defined statistics that can be set to value3.
  • "name1", "value4" sets specific named statistics as defined by the UnifiedPOS or manufacturer to value4.

Returns

No object or value is returned by this method when it completes.

Attributes

Applies to