# DeleteReason

# DeleteReason

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/android/engage/service/DeleteReason "View this page in Kotlin")\|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])
public annotation DeleteReason
```

<br />

*** ** * ** ***

Reason for deletion.

## Summary

|   ### Constants    |
|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `static final int` | [DELETE_REASON_ACCOUNT_DELETION](https://developer.android.com/reference/com/google/android/engage/service/DeleteReason#DELETE_REASON_ACCOUNT_DELETION())` = 2`                 |
| `static final int` | [DELETE_REASON_ACCOUNT_PROFILE_DELETION](https://developer.android.com/reference/com/google/android/engage/service/DeleteReason#DELETE_REASON_ACCOUNT_PROFILE_DELETION())` = 5` |
| `static final int` | [DELETE_REASON_LOSS_OF_CONSENT](https://developer.android.com/reference/com/google/android/engage/service/DeleteReason#DELETE_REASON_LOSS_OF_CONSENT())` = 1`                   |
| `static final int` | [DELETE_REASON_OTHER](https://developer.android.com/reference/com/google/android/engage/service/DeleteReason#DELETE_REASON_OTHER())` = 4`                                       |
| `static final int` | [DELETE_REASON_UNSPECIFIED](https://developer.android.com/reference/com/google/android/engage/service/DeleteReason#DELETE_REASON_UNSPECIFIED())` = 0`                           |
| `static final int` | [DELETE_REASON_USER_LOG_OUT](https://developer.android.com/reference/com/google/android/engage/service/DeleteReason#DELETE_REASON_USER_LOG_OUT())` = 3`                         |

## Constants

### DELETE_REASON_ACCOUNT_DELETION

```
public static final int DELETE_REASON_ACCOUNT_DELETION = 2
```  

### DELETE_REASON_ACCOUNT_PROFILE_DELETION

```
public static final int DELETE_REASON_ACCOUNT_PROFILE_DELETION = 5
```  

### DELETE_REASON_LOSS_OF_CONSENT

```
public static final int DELETE_REASON_LOSS_OF_CONSENT = 1
```  

### DELETE_REASON_OTHER

```
public static final int DELETE_REASON_OTHER = 4
```  

### DELETE_REASON_UNSPECIFIED

```
public static final int DELETE_REASON_UNSPECIFIED = 0
```  

### DELETE_REASON_USER_LOG_OUT

```
public static final int DELETE_REASON_USER_LOG_OUT = 3
```