Skip to content

Commit 50dfe91

Browse files
committed
Updated README with disable tracking
1 parent 4ceba1e commit 50dfe91

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,19 @@ event buffering by adding the following line to your Adjust settings in your
318318
<meta-data android:name="AdjustEventBuffering" android:value="true" />
319319
```
320320

321+
### 13. Disable tracking
322+
323+
You can disable the adjust SDK from tracking by invoking the method `setEnable`
324+
with the enabled parameter as `false`. This setting is remembered between sessions, but it can only
325+
be activated after the first session.
326+
327+
```java
328+
Adjust.setEnable(false);
329+
```
330+
331+
You can verify if the adjust SDK is currently active with the method `isEnabled`. It is always possible
332+
to activate the adjust SDK by invoking `setEnable` with the enabled parameter as `true`.
333+
321334
[adjust.io]: http://adjust.io
322335
[dashboard]: http://adjust.io
323336
[releases]: https://github.com/adjust/adjust_android_sdk/releases

0 commit comments

Comments
 (0)