Skip to content

Commit

Permalink
Drop definition lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Sporiff committed Feb 21, 2024
1 parent 5872d07 commit b2602e3
Showing 1 changed file with 13 additions and 30 deletions.
43 changes: 13 additions & 30 deletions src/content/docs/sdk/android/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,10 @@ To configure the Adjust SDK, you need to instantiate an `AdjustConfig` object. T

To instantiate your config object, create a new `AdjustConfig` instance and pass the following parameters:

`context` (Context)
: The [Android Context](https://developer.android.com/reference/android/content/Context) in which your app is running. Pass `this` to get the current app context.

`appToken` (String)
: Your [Adjust app token](https://help.adjust.com/en/article/app-token-and-reporting-currency#view-your-app-details).

`environment` (String)
: The environment you want to run the SDK in. Pass `AdjustConfig.ENVIRONMENT_SANDBOX` to run the SDK in sandbox mode for testing. Pass `AdjustConfig.ENVIRONMENT_PRODUCTION` to run the SDK in production mode for release.

`allowSuppressLogLevel` (Boolean)
: Whether to suppress all logging. Set to `true` to suppress logging or `false` to enable logging.
- `context` (Context): The [Android Context](https://developer.android.com/reference/android/content/Context) in which your app is running. Pass `this` to get the current app context.
- `appToken` (String): Your [Adjust app token](https://help.adjust.com/en/article/app-token-and-reporting-currency#view-your-app-details).
- `environment` (String): The environment you want to run the SDK in. Pass `AdjustConfig.ENVIRONMENT_SANDBOX` to run the SDK in sandbox mode for testing. Pass `AdjustConfig.ENVIRONMENT_PRODUCTION` to run the SDK in production mode for release.
- `allowSuppressLogLevel` (Boolean): Whether to suppress all logging. Set to `true` to suppress logging or `false` to enable logging.

<Tabs>
<Tab title="Kotlin" sync="kotlin">
Expand Down Expand Up @@ -89,8 +82,7 @@ The Adjust SDK provides configurable log levels to return different amounts of i

You can set your log level by calling the `setLogLevel` method on your `AdjustConfig` instance with the following parameter:

`logLevel` (LogLevel)
: The log level you want to use.
- `logLevel` (LogLevel): The log level you want to use.

<Tabs>
<Tab title="Kotlin" sync="kotlin">
Expand Down Expand Up @@ -139,8 +131,7 @@ An external device identifier is a custom value that you can assign to a device

You can use an external device ID as a custom identifier for a device. This helps you keep continuity with your other systems. You can set property calling the `setExternalDeviceId` method with the following parameter:

`externalDeviceId` (String)
: Your external device identifier. This value is **case sensitive**. If you have imported external device IDs, make sure the value you pass matches the imported value.
- `externalDeviceId` (String): Your external device identifier. This value is **case sensitive**. If you have imported external device IDs, make sure the value you pass matches the imported value.

<Callout type="seealso">

Expand Down Expand Up @@ -198,8 +189,7 @@ public void setDefaultTracker(String defaultTracker)

You can configure a default link token if your app is preinstalled on a device. When a user opens the preinstalled app for the first time, the install is attributed to the default link token. To set your default link token, call the `setDefaultTracker` method with the following argument:

`defaultTracker` (String)
: The [Adjust link token](https://help.adjust.com/en/article/links#adjust-link-token) you want to record preinstalled installs against.
- `defaultTracker` (String): The [Adjust link token](https://help.adjust.com/en/article/links#adjust-link-token) you want to record preinstalled installs against.

<Tabs>
<Tab title="Kotlin" sync="kotlin">
Expand Down Expand Up @@ -246,8 +236,7 @@ public void setSendInBackground(boolean sendInBackground)

By default, the Adjust SDK pauses the sending of requests when your app is running in the background. You can configure the SDK to send requests in the background by enabling the background recording. To enable background recording, call the `setSendInBackground` method on your config instance with the following parameter:

`sendInBackground` (Boolean)
: Set to `true` to enable background sending or `false` to disable background sending.
- `sendInBackground` (Boolean): Set to `true` to enable background sending or `false` to disable background sending.

<Tabs>
<Tab title="Kotlin" sync="kotlin">
Expand Down Expand Up @@ -296,8 +285,7 @@ The Adjust SDK sends event information as soon as a user triggers an event in yo

Your config object contains a boolean `eventBufferingEnabled` property that controls this behavior. You can set this property by calling the `setEventBufferingEnabled` method on your config object with the following parameter:

`eventBufferingEnabled` (Boolean)
: Set to `true` to enable event buffering or `false` to disable event buffering.
- `eventBufferingEnabled` (Boolean): Set to `true` to enable event buffering or `false` to disable event buffering.

<Tabs>
<Tab title="Kotlin" sync="kotlin">
Expand Down Expand Up @@ -356,8 +344,7 @@ The Adjust SDK sends event and session data to Adjust's servers in real time. Yo

You can toggle offline mode at any time by calling the `setOfflineMode` method with the following argument:

`enabled` (Boolean)
: Set to `true` to enable offline mode or `false` to disable offline mode.
- `enabled` (Boolean): Set to `true` to enable offline mode or `false` to disable offline mode.

<Tabs>
<Tab title="Kotlin" sync="kotlin">
Expand Down Expand Up @@ -395,11 +382,8 @@ Push tokens are used for [Audience Builder](https://help.adjust.com/en/article/a

Your config object contains a string `pushToken` property that you can use to store your push token. You can update this property at any time by calling the `setPushToken` method and passing the following arguments:

`token` (String)
: Your push token.

`context` (Context)
: The [Android Context](https://developer.android.com/reference/android/content/Context) in which your app is running. Pass `getApplicationContext()` to get the current app context.
- `token` (String): Your push token.
- `context` (Context): The [Android Context](https://developer.android.com/reference/android/content/Context) in which your app is running. Pass `getApplicationContext()` to get the current app context.

<Callout type="note">

Expand Down Expand Up @@ -449,8 +433,7 @@ The Adjust SDK runs by default when your app is open. You can disable and re-ena

You can enable or disable the SDK at any time by calling the `setEnabled` method with the following argument:

`enabled` (Boolean)
: Set to `true` to enable the SDK or `false` to disable the SDK.
- `enabled` (Boolean): Set to `true` to enable the SDK or `false` to disable the SDK.

<Tabs>
<Tab title="Kotlin" sync="kotlin">
Expand Down

0 comments on commit b2602e3

Please sign in to comment.