File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1616### 2. Add or inject LMViewModel into a View
1717
1818```
19- @EnvironmentObject var model: LMViewModel
20-
21- - LMViewModel Parameters:
22- - accuracy: The accuracy of a geographical coordinate.
23- - activityType: Constants indicating the type of activity associated with location updates.
24- - distanceFilter: A distance in meters from an existing location.
25- - backgroundUpdates: A Boolean value that indicates whether the app receives location updates when running in the background
19+ @EnvironmentObject var model: LMViewModel
20+
2621```
2722
23+ #### LMViewModel Parameters
24+ || Param|| Description||
25+ | accuracy| The accuracy of a geographical coordinate.|
26+ | activityType| Constants indicating the type of activity associated with location updates.|
27+ | distanceFilter| A distance in meters from an existing location.|
28+ | backgroundUpdates| A Boolean value that indicates whether the app receives location updates when running in the background|
29+
2830
2931
3032### 3. Call ViewModel method start() within async environment
You can’t perform that action at this time.
0 commit comments