INNER CODE UNIT · Dart

ActivityChangeEvent

transistorsoft/flutter_background_geolocation · lib/models/activity_change_event.dart:12

class ActivityChangeEvent {
  /// The reported device motion activity.
  ///
  /// | Activity Name  |
  /// |----------------|
  /// | `still`        |
  /// | `on_foot`      |
  /// | `walking`      |
  /// | `running`      |
  /// | `on_bicycle`   |
  /// | `in_vehicle`   |
  /// | `unknown`      |
  final String activity;

  /// Confidence of the reported device motion activity in %.
  ///
  final int confidence;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…