AndroidLocationOptions constructor

const AndroidLocationOptions({
  1. int updateIntervalMs = 1000,
  2. int fastestIntervalMs = 500,
  3. int? maxWaitTimeMs,
  4. String foregroundServiceType = 'location',
  5. String notificationChannelId = 'nexora_location',
  6. String notificationTitle = 'Location active',
  7. String notificationText = 'Nexora SDK is using location.',
  8. int? geofenceDwellMs,
  9. String geofenceInitialTrigger = 'enter',
})

Creates Android location customization options.

Implementation

const AndroidLocationOptions({
  this.updateIntervalMs = 1000,
  this.fastestIntervalMs = 500,
  this.maxWaitTimeMs,
  this.foregroundServiceType = 'location',
  this.notificationChannelId = 'nexora_location',
  this.notificationTitle = 'Location active',
  this.notificationText = 'Nexora SDK is using location.',
  this.geofenceDwellMs,
  this.geofenceInitialTrigger = 'enter',
});