# DeleteReason

# DeleteReason

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/com/google/android/engage/service/DeleteReason "View this page in Java")  

<br />

```
@Retention(value = RetentionPolicy.SOURCE)
@IntDef(value = [DeleteReason.DELETE_REASON_UNSPECIFIED, DeleteReason.DELETE_REASON_LOSS_OF_CONSENT, DeleteReason.DELETE_REASON_ACCOUNT_DELETION, DeleteReason.DELETE_REASON_USER_LOG_OUT, DeleteReason.DELETE_REASON_OTHER, DeleteReason.DELETE_REASON_ACCOUNT_PROFILE_DELETION])
annotation DeleteReason
```

<br />

*** ** * ** ***

Reason for deletion.

## Summary

|                                   ### Constants                                    |
|------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_ACCOUNT_DELETION](https://developer.android.com/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_ACCOUNT_DELETION())` = 2`                 |
| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_ACCOUNT_PROFILE_DELETION](https://developer.android.com/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_ACCOUNT_PROFILE_DELETION())` = 5` |
| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_LOSS_OF_CONSENT](https://developer.android.com/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_LOSS_OF_CONSENT())` = 1`                   |
| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_OTHER](https://developer.android.com/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_OTHER())` = 4`                                       |
| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_UNSPECIFIED](https://developer.android.com/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_UNSPECIFIED())` = 0`                           |
| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_USER_LOG_OUT](https://developer.android.com/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_USER_LOG_OUT())` = 3`                         |

## Constants

### DELETE_REASON_ACCOUNT_DELETION

```
const val DELETE_REASON_ACCOUNT_DELETION = 2: Int
```  

### DELETE_REASON_ACCOUNT_PROFILE_DELETION

```
const val DELETE_REASON_ACCOUNT_PROFILE_DELETION = 5: Int
```  

### DELETE_REASON_LOSS_OF_CONSENT

```
const val DELETE_REASON_LOSS_OF_CONSENT = 1: Int
```  

### DELETE_REASON_OTHER

```
const val DELETE_REASON_OTHER = 4: Int
```  

### DELETE_REASON_UNSPECIFIED

```
const val DELETE_REASON_UNSPECIFIED = 0: Int
```  

### DELETE_REASON_USER_LOG_OUT

```
const val DELETE_REASON_USER_LOG_OUT = 3: Int
```