Lumia.Sense Namespace
Lumia SensorCore SDK provides you with an access to several device sensors. In order to use the SensorCore SDK you will need to include the following lines in Package.appxmanifest inside <Capabilities> tag:
<DeviceCapability Name="location" />
<m2:DeviceCapability Name="humaninterfacedevice">
<m2:Device Id="vidpid:0421 0716">
<m2:Function Type="usage:ffaa 0001" />
<m2:Function Type="usage:ffee 0001" />
<m2:Function Type="usage:ffee 0002" />
<m2:Function Type="usage:ffee 0003" />
<m2:Function Type="usage:ffee 0004" />
</m2:Device>
</m2:DeviceCapability>
In case your application is a Silverlight 8.1 application you will also need to include the following lines in WMAppManifest.xml inside <Capabilities> tag:
<Capability Name="ID_CAP_LOCATION" />
Both of these files should be automatically updated to include the required capabilities when installing the SDK package.
Classes
Class | Description | |
---|---|---|
ActivityMonitor |
Represents an activity state monitor sensor.
|
|
ActivityMonitorReading |
Supported device placements.
|
|
ApiSupportedCapabilities |
Supported capabilities info
|
|
MotionDataSettings |
Motion data settings
|
|
Place |
Contains information about a known place.
|
|
PlaceMonitor |
Represents a monitor that identifies and maintains a list of geographic places frequently visited by the device.
|
|
SenseHelper |
Helper class providing miscellaneous Sense helper methods
|
|
SenseTrigger |
Sense device manufacturer triggers
|
|
StepCount |
Step count provides access to property values that tell current walking and running step counts and time spent walking and running.
|
|
StepCounter |
Represents a step counter sensor.
|
|
StepCounterReading |
Represents a reading of the StepCounter.
|
|
TrackPoint |
Represents a point within a route the device has been located in.
|
|
TrackPointMonitor |
Represents a monitor that identifies and maintains a list of geographic places visited by the device.
|
Interfaces
Interface | Description | |
---|---|---|
IActivityMonitor |
Represents an activity state monitor sensor.
|
|
IPlaceMonitor |
Represents a monitor that identifies and maintains a list of geographic places frequently visited by the device.
|
|
ISensor |
Base class for all SensorCore SDK sensors
|
|
IStepCounter |
Represents a step counter sensor.
|
|
ITrackPointMonitor |
Represents a monitor that identifies and maintains a list of geographic places visited by the device.
|
Delegates
Delegate | Description | |
---|---|---|
ActivityReadingChangedEventHandler |
Delegate type the ReadingChanged event handler of ActivityMonitor.
|
Enumerations
Enumeration | Description | |
---|---|---|
Activity |
Enumeration representing different activity classes
|
|
DataCollectionQuality |
Data collection quality settings
|
|
PlaceKind |
Indicates the type or kind of a place.
|
|
SenseError |
Sense error codes
|
|
SensorType |
Indicates the type of the sensor.
|