Properties
Optional
activityType
activityType?: any
Optional
allowsBackgroundLocationUpdates
allowsBackgroundLocationUpdates?: boolean
Optional
deferredLocationUpdates
deferredLocationUpdates?: {
timeout: number;
traveled: number;
}
Type declaration
-
timeout: number
-
traveled: number
Optional
desiredAccuracy
desiredAccuracy?: number
Optional
dontOpenSettings
dontOpenSettings?: boolean
Optional
maximumAge
maximumAge?: number
Optional
minimumUpdateTime
minimumUpdateTime?: number
Optional
nmeaAltitude
nmeaAltitude?: boolean
Optional
onDeferred
Optional
onLocationPaused
onLocationPaused?: (() => void)
Optional
pausesLocationUpdatesAutomatically
pausesLocationUpdatesAutomatically?: boolean
Optional
provider
provider?: "gps" | "network" | "passive"
Optional
skipPermissionCheck
skipPermissionCheck?: boolean
Optional
timeout
timeout?: number
Optional
updateDistance
updateDistance?: number
Provides options for location monitoring.