---
title: "Kotlin Multiplatform SDKでATTを処理する"
description: "Kotlin MultiplatformでAdaptyを使い始めて、サブスクリプションのセットアップと管理を効率化しましょう。"
---

アプリがAppTrackingTransparencyフレームワークを使用してアプリトラッキングの認証リクエストをユーザーに表示する場合、[認証ステータス](https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager/authorizationstatus/)をAdaptyに送信する必要があります。

```kotlin showLineNumbers

val profileParameters = AdaptyProfileParameters.Builder()
    .withAttStatus(3) // 3 = ATTrackingManagerAuthorizationStatusAuthorized
    .build()

Adapty.updateProfile(profileParameters)
    .onSuccess {
        // ATT status updated successfully
    }
    .onError { error ->
        // handle AdaptyError
    }
```

:::warning
この値は変更されたらできるだけ早く送信することを強くお勧めします。そうすることで、設定済みのインテグレーションにタイムリーにデータが送信されます。
:::