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 sensor data in three-dimensional space.
- ActivityRecord Sensor Data Source
- Represents metadata for a recorded activity.
- Attitude Sensor Data Source
- Device orientation attitude data in 3D space.
- Battery Sensor Data Source
- Battery status information sensor data.
- Camera Sensor Data Source
- Camera frame sensor data.
- CameraConfiguration Sensor Data Source
- Camera hardware and capture settings.
- Compass Sensor Data Source
- Compass sensor data providing directional heading.
- DataSource Sensor Data Source
- Provides access to sensor and log data from various sources.
- DataSourceListener Sensor Data Source
- Receives events and sensor data from a DataSource.
- DSPrefKeys Sensor Data Source
- Keys for DataSource sensors configuration.
- DSPrefKeysPosition Sensor Data Source
- Keys for DataSource position sensors configuration.
- GemPositionListener Position
- Position update callback interface for real-time location tracking.
- HeartRate Sensor Data Source
- Heart rate biometric sensor data.
- LogMark Sensor Data Source
- Base interface for log marks, which can be either SoundMark or TextMark.
- LogMetadata Sensor Data Source
- Provides metadata for a recorded sensor data log.
- LogMetrics Sensor Data Source
- Provides metrics about a recorded log, such as distance, elevation gain, and average speed.
- LogUploader Core
- Uploads a recorded log file to Magic Lane servers for bug reports.
- MagneticField Sensor Data Source
- Magnetic field sensor data.
- Metrics Sensor Data Source
- Base Metrics interface for metric objects used by the sense library.
- MountInformation Sensor Data Source
- Device mounting information sensor data.
- NmeaChunk Sensor Data Source
- NMEA sentence data from GNSS receivers.
- Orientation Sensor Data Source
- Device orientation sensor data.
- Playback Sensor Data Source
- Controls a playback-enabled DataSource, for example a log file or a simulated route replay.
- PositionSensorConfiguration Sensor Data Source
- Configuration class for position sensor
- PositionService Position
- Provides access to device and custom position data and playback controls.
- Recorder Sensor Data Source
- Recorder for capturing sensor and multimedia logs.
- RecorderBookmarks Sensor Data Source
- Provides access to recorded logs and their metadata on the device.
- RecorderConfiguration Sensor Data Source
- Configuration used to control recorder behavior and log storage settings.
- RecordMetrics Sensor Data Source
- Performance metrics produced while a recording is active.
- RotationRate Sensor Data Source
- Gyroscope rotation rate sensor data.
- SenseData Sensor Data Source
- Base class for all sensor data types.
- SenseDataFactory Sensor Data Source
- Factory for creating sensor data instances.
- SensorConfiguration Sensor Data Source
- Sensor configuration base class
- SoundMark Sensor Data Source
- Represents a time interval in a recording where sound was captured.
- Temperature Sensor Data Source
- Temperature sensor data.
- TextMark Sensor Data Source
- Represents a textual annotation at a specific moment in a recording.
Enums
- ActivityVisibility Sensor Data Source
- Defines visibility settings for an activity.
- BatteryHealth Sensor Data Source
- Battery health status indicators.
- BatteryState Sensor Data Source
- Battery charging and operational states.
- CompassAccuracy Sensor Data Source
- Accuracy levels for compass heading measurements.
- DataInterruptionReason Sensor Data Source
- Reasons why a data source may be interrupted.
- 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
- Device face orientation types.
- FileSortOrder Sensor Data Source
- Values that represent file sorting orders.
- 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 Sensor Data Source
- Image pixel encoding formats.
- ImprovedPositionDefTransportMode Sensor Data Source
- Default transport mode for improved position
- LogUploaderState Core
- State of a log upload operation.
- OrientationType Sensor Data Source
- 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
- Power source connection types 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
- Temperature severity levels.
- UnitOfMeasurementAcceleration Sensor Data Source
- Values that represent type of unit for acceleration data.