ActivitySensorReading.Activity Property

Definition

Gets the activity type for the sensor.

public:
 property ActivityType Activity { ActivityType get(); };
ActivityType Activity();
public ActivityType Activity { get; }
var activityType = activitySensorReading.activity;
Public ReadOnly Property Activity As ActivityType

Property Value

A ActivityType-typed value that specifies the current activity for the sensor.

Windows requirements

App capabilities
activity

Applies to