AppCaptureMetadataWriter.StartDoubleState Method

Definition

Adds a new double metadata state.

public:
 virtual void StartDoubleState(Platform::String ^ name, double value, AppCaptureMetadataPriority priority) = StartDoubleState;
void StartDoubleState(winrt::hstring const& name, double const& value, AppCaptureMetadataPriority const& priority);
public void StartDoubleState(string name, double value, AppCaptureMetadataPriority priority);
function startDoubleState(name, value, priority)
Public Sub StartDoubleState (name As String, value As Double, priority As AppCaptureMetadataPriority)

Parameters

name
String

Platform::String

winrt::hstring

The name of the metadata state.

value
Double

double

The value of the metadata state.

priority
AppCaptureMetadataPriority

A member of the AppCaptureMetadataPriority enumeration specifying the relative importance of the metadata item. This value and the age of a metadata item are used by the system to determine which metadata items should be purged first when the limit of the allocated storage space for accumulated metadata is reached.

Remarks

The system associates a metadata state with the window of time between when the state is started and when its value is changed or the state is stopped with a call to StopAllStates. To store a double value that applies to an instantaneous moment in time, use AddDoubleEvent.

Applies to