sense library
Sense
Provides APIs for sensor data collection, recording and processing.
This library covers the main interfaces and classes for working with sensor data, including data sources, listeners, log upload, and recording.
Main features
- PositionService – Service for accessing device position data.
- DataSourceListener – Listener for sensor data source events.
- LogUploader,
LogUploadListener
– Upload and monitor sensor logs. Used mainly for debugging and analysis. - Recorder – Record and manage sensor data.
- SenseData, DataSource – Core sensor data and sources.
More details
- See the Positioning & Sensors documentation for more information.
Classes
- Acceleration Sensor Data Source
- Acceleration data.
- Activity Sensor Data Source
- Activity data.
- ActivityRecord Sensor Data Source
- Represents an activity being recorded, including descriptions, type of sport, effort level, associated bicycle profile (if applicable), and visibility preferences.
- Attitude Sensor Data Source
- Attitude data.
- Battery Sensor Data Source
- Battery data.
- Camera Sensor Data Source
- Camera frame data.
- CameraConfiguration Camera Configuration
- Camera configuration settings
- Compass Sensor Data Source
- Compass data.
- DataSource Sensor Data Source
- SensorDataSource
- DataSourceListener Sensor Data Source
- DataSourceListener receives data and events from a data source.
- DSPrefKeys Sensor Data Source
- Keys for DataSource sensors configuration.
- DSPrefKeysPosition Sensor Data Source
- Keys for DataSource position sensors configuration.
- ExternalPositionData Sensor Data Source
- External position data
- HeartRate Sensor Data Source
- Heart rate data.
- LogMetadata Sensor Data Source
- LogMetadata class
- LogMetrics Sensor Data Source
- Object which provides metrics about a log
- LogUploader Core
- LogUploader uploads .gm or .mp4 recordings to Magic Lane servers for bug reports.
- MagneticField Sensor Data Source
- Magnetic field data.
- MountInformation Sensor Data Source
- Mount information data.
- NmeaChunk Sensor Data Source
- NMEA chunk data.
- Orientation Sensor Data Source
- Orientation data.
- Playback Sensor Data Source
- Represents the operations that can be performed on a DataSource which has playback capabilities (e.g. log, route replay)
- PositionSensorConfiguration Sensor Data Source
- Configuration class for position sensor
- PositionService Sensor Data Source
- Position service class
- Recorder Sensor Data Source
- Recorder class
- RecorderBookmarks Sensor Data Source
- Recorder bookmarks class
- RecorderConfiguration Sensor Data Source
- Structure describing recorder configuration properties.
- RotationRate Sensor Data Source
- Rotation rate data.
- SenseData Sensor Data Source
- Base class for sensor data.
- SenseDataFactory Sensor Data Source
- Sense data factory
- SensorConfiguration Sensor Data Source
- Sensor configuration base class
- SoundMark Sensor Data Source
- Represents a time interval in the log where sound was recorded.
- Temperature Sensor Data Source
- Temperature data.
- TextMark Sensor Data Source
- Represents a textual annotation at a specific moment in the log.
Enums
- ActivityConfidence Sensor Data Source
- Values that represent the confidence level of detected user activities.
- ActivityType Sensor Data Source
- Values that represent the confidence level of detected user activities.
- ActivityVisibility Sensor Data Source
- Defines visibility settings for an activity.
- BatteryHealth Sensor Data Source
- Values that represent the health status of the battery.
- BatteryState Sensor Data Source
- Values that represent the state of the battery.
- CompassAccuracy Sensor Data Source
- Values that represent the accuracy of the compass.
- DataInterruptionReason Sensor Data Source
- Data interruption reason
- DataSourceType Sensor Data Source
- The data source type.
- DataType Sensor Data Source
- Known sense data types.
- EffortType Sensor Data Source
- Represents the effort level for an activity.
- FaceType Sensor Data Source
- Values that represent device orientation types.
- FileSortOrder File Sorting Order
- FileSortType Sensor Data Source
- Values that represent file sorting types.
- FileType Sensor Data Source
- Path import supported formats
- HardwareSpecification Sensor Data Source
- Enum for easily accessible hardware information on Android and iOS
- ImagePixelFormat Camera Configuration
- Image pixel format
- ImprovedPositionDefTransportMode Sensor Data Source
- Default transport mode for improved position
- LogUploaderState Core
- LogUploaderState represents the state of a log upload operation.
- OrientationType Sensor Data Source
- Values that represent user interface orientation types
- Origin Sensor Data Source
- Data origin.
- PlayingStatus Sensor Data Source
- Represents the playing status of a data source.
- PluggedType Sensor Data Source
- Values that represent the plugged-in type for a device.
- PositionAccuracy Sensor Data Source
- The position accuracy
- PositionActivity Sensor Data Source
- The position activity
- RecorderStatus Sensor Data Source
- Enumerates different states of a recorder.
- RecordingTransportMode Sensor Data Source
- Enumeration representing different modes of transportation.
- Resolution Sensor Data Source
- Estimated Video Data Rates by Resolution (used for size estimation) Values are approximate and based on platform-specific analysis:
- RoadModifier Sensor Data Source
- Current position road modifiers.
- SportType Sensor Data Source
- Sport type enumeration.
- TemperatureLevel Sensor Data Source
- Values that represent temperature levels.
- UnitOfMeasurementAcceleration Sensor Data Source
- Values that represent type of unit for acceleration data.