Stay organized with collections
Save and categorize content based on your preferences.
@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
Reason for deletion.
Summary
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-10 UTC.
[null,null,["Last updated 2025-01-10 UTC."],[],[],null,["# DeleteReason\n============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/com/google/android/engage/service/DeleteReason \"View this page in Java\") \n\n\n```\n@Retention(value = RetentionPolicy.SOURCE)\n@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])\nannotation DeleteReason\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nReason for deletion.\n\nSummary\n-------\n\n| ### Constants |\n|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_ACCOUNT_DELETION](/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_ACCOUNT_DELETION())` = 2` |\n| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_ACCOUNT_PROFILE_DELETION](/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_ACCOUNT_PROFILE_DELETION())` = 5` |\n| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_LOSS_OF_CONSENT](/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_LOSS_OF_CONSENT())` = 1` |\n| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_OTHER](/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_OTHER())` = 4` |\n| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_UNSPECIFIED](/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_UNSPECIFIED())` = 0` |\n| `const `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [DELETE_REASON_USER_LOG_OUT](/reference/kotlin/com/google/android/engage/service/DeleteReason#DELETE_REASON_USER_LOG_OUT())` = 3` |\n\nConstants\n---------\n\n### DELETE_REASON_ACCOUNT_DELETION\n\n```\nconst val DELETE_REASON_ACCOUNT_DELETION = 2: Int\n``` \n\n### DELETE_REASON_ACCOUNT_PROFILE_DELETION\n\n```\nconst val DELETE_REASON_ACCOUNT_PROFILE_DELETION = 5: Int\n``` \n\n### DELETE_REASON_LOSS_OF_CONSENT\n\n```\nconst val DELETE_REASON_LOSS_OF_CONSENT = 1: Int\n``` \n\n### DELETE_REASON_OTHER\n\n```\nconst val DELETE_REASON_OTHER = 4: Int\n``` \n\n### DELETE_REASON_UNSPECIFIED\n\n```\nconst val DELETE_REASON_UNSPECIFIED = 0: Int\n``` \n\n### DELETE_REASON_USER_LOG_OUT\n\n```\nconst val DELETE_REASON_USER_LOG_OUT = 3: Int\n```"]]