AppCaptureMetadataWriter.AddInt32Event Method

Definition

Adds a new integer metadata event.

public:
 virtual void AddInt32Event(Platform::String ^ name, int value, AppCaptureMetadataPriority priority) = AddInt32Event;
void AddInt32Event(winrt::hstring const& name, int const& value, AppCaptureMetadataPriority const& priority);
public void AddInt32Event(string name, int value, AppCaptureMetadataPriority priority);
function addInt32Event(name, value, priority)
Public Sub AddInt32Event (name As String, value As Integer, priority As AppCaptureMetadataPriority)

Parameters

name
String

Platform::String

winrt::hstring

The name of the metadata event.

value
Int32

int

The value of the metadata event.

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 event with a timestamp when this method is called. To store an integer value that applies to a window of time, use StartInt32State.

Applies to