Type Alias: RNIOSLocationConfig
type RNIOSLocationConfig = {
activityType?: RNIOSLocationActivityType;
desiredAccuracy?: RNIOSLocationAccuracy;
distanceFilterMeters?: number;
};
iOS location configuration.
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
activityType? | RNIOSLocationActivityType | OTHER See RNIOSLocationActivityType. | Activity type used to optimize location updates. |
desiredAccuracy? | RNIOSLocationAccuracy | ACCURACY_BEST See RNIOSLocationAccuracy. | Desired accuracy level. |
distanceFilterMeters? | number | 0 (no filter) | Minimum distance in meters before a new update is delivered. |