Stay organized with collections
Save and categorize content based on your preferences.
class DeletedContacts : ContactsContract.DeletedContactsColumns
Constants for the deleted contact table. This table holds a log of deleted contacts.
Log older than DAYS_KEPT_MILLISECONDS
may be deleted.
Summary
Constants |
static Long |
Milliseconds that the delete log will be kept.
|
Properties |
static Uri! |
The content:// style URI for this table, which requests a directory of raw contact rows matching the selection criteria.
|
Constants
DAYS_KEPT_MILLISECONDS
static val DAYS_KEPT_MILLISECONDS: Long
Milliseconds that the delete log will be kept. After this time, delete records may be deleted.
Value: 2592000000L
Properties
CONTENT_URI
static val CONTENT_URI: Uri!
The content:// style URI for this table, which requests a directory of raw contact rows matching the selection criteria.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ContactsContract.DeletedContacts\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDeletedContacts\n===============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/ContactsContract.DeletedContacts \"View this page in Java\") \n\n```\nclass DeletedContacts : ContactsContract.DeletedContactsColumns\n```\n\n|---|--------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.provider.ContactsContract.DeletedContacts](#) |\n\nConstants for the deleted contact table. This table holds a log of deleted contacts.\n\nLog older than [DAYS_KEPT_MILLISECONDS](#DAYS_KEPT_MILLISECONDS:kotlin.Long) may be deleted.\n\nSummary\n-------\n\n| Constants ||\n|-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | [DAYS_KEPT_MILLISECONDS](#DAYS_KEPT_MILLISECONDS:kotlin.Long) Milliseconds that the delete log will be kept. |\n\n| Inherited constants ||\n|---|---|\n| From class [DeletedContactsColumns](/reference/kotlin/android/provider/ContactsContract.DeletedContactsColumns) |----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTACT_DELETED_TIMESTAMP](/reference/kotlin/android/provider/ContactsContract.DeletedContactsColumns#CONTACT_DELETED_TIMESTAMP:kotlin.String) Time (milliseconds since epoch) that the contact was deleted. \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTACT_ID](/reference/kotlin/android/provider/ContactsContract.DeletedContactsColumns#CONTACT_ID:kotlin.String) A reference to the [ContactsContract.Contacts._ID](/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) that was deleted. Type: INTEGER \u003cbr /\u003e | ||\n\n| Properties ||\n|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Uri](../net/Uri.html#)! | [CONTENT_URI](#CONTENT_URI:android.net.Uri) The content:// style URI for this table, which requests a directory of raw contact rows matching the selection criteria. |\n\nConstants\n---------\n\n### DAYS_KEPT_MILLISECONDS\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DAYS_KEPT_MILLISECONDS: Long\n```\n\nMilliseconds that the delete log will be kept. After this time, delete records may be deleted. \n\n Value: 2592000000L\n\nProperties\n----------\n\n### CONTENT_URI\n\nAdded in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_URI: Uri!\n```\n\nThe content:// style URI for this table, which requests a directory of raw contact rows matching the selection criteria."]]