activityType property

int? activityType
getter/setter pair

[iOS only] Presumably, this affects iOS stop-detect algorithm. Apple is vague about what exactly this option does.

Available values are defined as constants upon this Config class.

Name
Config.ACTIVITY_TYPE_OTHER
Config.ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION
Config.ACTIVITY_TYPE_FITNESS
Config.ACTIVITY_TYPE_OTHER_NAVIGATION

Example

BackgroundGeolocation.ready(Config(
  activityType: Config.ACTIVITY_TYPE_OTHER
));

Note: For more information, see Apple docs.

Implementation

int? activityType;