Skip to content

Commit

Permalink
Update v2.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dagostinisy committed Apr 3, 2024
1 parent 2ce45d7 commit fceac7a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions android-docs/docs/v2/v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -966,17 +966,11 @@ This event is a check that notifies that the diagnostic is alive.
BlueGPSLib.instance.stopDiagnostic()
```

<br />

> If during the life of the app it's necessary change the configuration it will be enough to call `startDiagnostic(..)`
because this method stop a previously job active and start the diagnostic with the new configuration.

<br />

For more info check the example app in `SseDiagnosticTagActivity.kt` class.

<br />

### 6.2 Notify region changes

For activate the position event detection when the user move inside building,
Expand Down Expand Up @@ -1030,8 +1024,6 @@ data class BGPRegion(
BlueGPSLib.instance.stopNotifyRegionChanges()
```

<br />

> [!NOTE]
> If during the life of the app it's necessary change the configuration it will be enough to re-call `startNotifyRegionChanges(..)` because this method stop a previously job active and start the event detection with the new configuration.
Expand Down Expand Up @@ -1072,7 +1064,6 @@ data class Position(
)
```


#### 6.3.2 Stop notify position changes

`BlueGPSLib` expose an accessory method for deactivate the Notify position job.
Expand All @@ -1081,13 +1072,9 @@ data class Position(
BlueGPSLib.instance.stopNotifyPositionChanges()
```

<br />

> [!NOTE]
> If during the life of the app it's necessary change the configuration it will be enough to re-call `startNotifyPositionChanges(..)` because this method stop a previously job active and start the event detection with the new configuration.
<br />

For more info check the example app in `NotifyPositionActivity.kt` class.

<div style="page-break-after: always;"></div>
Expand Down Expand Up @@ -1136,13 +1123,9 @@ data class Event(
BlueGPSLib.instance.stopNotifyEventChanges()
```

<br />

> [!NOTE]
> If during the life of the app it's necessary change the configuration it will be enough to re-call `startNotifyEventChanges(..)` because this method stop a previously job active and start the event detection with the new configuration.
<br />

For more info check the example app in `NotifyPositionActivity.kt` class.

<div style="page-break-after: always;"></div>
Expand Down

0 comments on commit fceac7a

Please sign in to comment.