Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Calls

*** ** * ** ***

```
open class Calls : BaseColumns
```

|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||
| ↳ | [android.provider.CallLog.Calls](https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#) |

Contains the recent calls.

Note: If you want to query the call log and limit the results to a single value, you should append the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#LIMIT_PARAM_KEY:kotlin.String` parameter to the content URI. For example:

```kotlin
<code>getContentResolver().query(
                  Calls.CONTENT_URI.buildUpon().appendQueryParameter(LIMIT_PARAM_KEY, "1")
                  .build(),
                  null, null, null, null);
  </code>
```

The call log provider enforces strict SQL grammar, so you CANNOT append "LIMIT" to the SQL query as below:

```kotlin
<code>getContentResolver().query(Calls.CONTENT_URI, null, "LIMIT 1", null, null);
  </code>
```

## Summary

| Constants ||
|---|---|
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#ANSWERED_EXTERNALLY_TYPE:kotlin.Int` Call log type for a call which was answered on another device. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#ASSERTED_DISPLAY_NAME:kotlin.String` String that stores the asserted display name associated with business call. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#AUTO_MISSED_EMERGENCY_CALL:kotlin.Long` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` to indicate that a call was automatically rejected by system because an ongoing emergency call. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#AUTO_MISSED_MAXIMUM_DIALING:kotlin.Long` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` to indicate that a call was automatically rejected by system because the system cannot support any more dialing calls. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#AUTO_MISSED_MAXIMUM_RINGING:kotlin.Long` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` to indicate that a call was automatically rejected by system because the system cannot support any more ringing calls. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#AUTO_MISSED_UNWANTED:kotlin.Long` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` to indicate that a call was automatically rejected by system because the call was marked as unwanted by the network. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` Call log type for calls blocked automatically. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String` Where the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int`, indicates the reason why a call is blocked. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_BLOCKED_NUMBER:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because it is in the BlockedNumbers provider. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_CALL_SCREENING_SERVICE:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked by a CallScreeningService. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_DIRECT_TO_VOICEMAIL:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user configured a contact to be sent directly to voicemail. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_NOT_BLOCKED:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set as the default value when a call was not blocked by a CallScreeningService or any other system call blocking method. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_NOT_IN_CONTACTS:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user has chosen to block all calls from numbers not in their contacts. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_PAY_PHONE:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user has chosen to block all calls from pay phones. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_RESTRICTED_NUMBER:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user has chosen to block all calls from restricted numbers. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_UNKNOWN_NUMBER:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user has chosen to block all calls from unknown numbers. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CACHED_FORMATTED_NUMBER:kotlin.String` The cached phone number, formatted with formatting rules based on the country the user was in when the call was made or received. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CACHED_LOOKUP_URI:kotlin.String` The cached URI to look up the contact associated with the phone number, if it exists. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CACHED_MATCHED_NUMBER:kotlin.String` The cached phone number of the contact which matches this entry, if it exists. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CACHED_NAME:kotlin.String` The cached name associated with the phone number, if it exists. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CACHED_NORMALIZED_NUMBER:kotlin.String` The cached normalized(E164) version of the phone number, if it exists. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CACHED_NUMBER_LABEL:kotlin.String` The cached number label, for a custom number type, associated with the phone number, if it exists. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CACHED_NUMBER_TYPE:kotlin.String` The cached number type (Home, Work, etc) associated with the phone number, if it exists. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CACHED_PHOTO_ID:kotlin.String` The cached photo id of the picture associated with the phone number, if it exists. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CACHED_PHOTO_URI:kotlin.String` The cached photo URI of the picture associated with the phone number, if it exists. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CALL_SCREENING_APP_NAME:kotlin.String` The name of the app which blocked a call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CALL_SCREENING_COMPONENT_NAME:kotlin.String` The ComponentName of the CallScreeningService which blocked this call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#COMPOSER_PHOTO_URI:kotlin.String` A reference to the picture that was sent via call composer. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_ITEM_TYPE:kotlin.String` The MIME type of a `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_URI:android.net.Uri` sub-directory of a single call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_TYPE:kotlin.String` The MIME type of `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_URI:android.net.Uri` and `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_FILTER_URI:android.net.Uri` providing a directory of calls. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#COUNTRY_ISO:kotlin.String` The ISO 3166-1 two letters country code of the country where the user received or made the call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#DATA_USAGE:kotlin.String` The data usage of the call in bytes. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#DATE:kotlin.String` The date the call occured, in milliseconds since the epoch |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#DEFAULT_SORT_ORDER:kotlin.String` The default sort order for this table |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#DURATION:kotlin.String` The duration of the call in seconds |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#EXTRA_CALL_TYPE_FILTER:kotlin.String` An optional extra used with `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_TYPE:kotlin.String` and `https://developer.android.com/reference/kotlin/android/content/Intent.html#ACTION_VIEW:kotlin.String` to specify that the presented list of calls should be filtered for a particular call type. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES:kotlin.String` Bit-mask describing features of the call (e.g. video). |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_ASSISTED_DIALING_USED:kotlin.Int` Indicates the call underwent Assisted Dialing. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_GROUP_CALL:kotlin.Int` Indicates that this was a group call. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_HD_CALL:kotlin.Int` Call was HD. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_HD_PLUS_CALL:kotlin.Int` Call was HD+ |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_PULLED_EXTERNALLY:kotlin.Int` Call was pulled externally. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_RTT:kotlin.Int` Call was on RTT at some point |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_VIDEO:kotlin.Int` Call had video. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_VOLTE:kotlin.Int` Call was VoLTE |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_VONR:kotlin.Int` Call used VoNR (Voice Over New Radio; aka 5G) (ie `https://developer.android.com/reference/kotlin/android/telephony/TelephonyManager.html#NETWORK_TYPE_NR:kotlin.Int`). |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#FEATURES_WIFI:kotlin.Int` Call was WIFI call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#GEOCODED_LOCATION:kotlin.String` A geocoded location for the number associated with this call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#INCLUDE_VOIP_CALLS_PARAM_KEY:kotlin.String` An optional URI parameter which instructs the provider to allow the operation to be applied to VOIP call records as well. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#INCOMING_TYPE:kotlin.Int` Call log type for incoming calls. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#IS_BUSINESS_CALL:kotlin.String` Boolean indicating whether the call is a business call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#IS_READ:kotlin.String` Whether this item has been read or otherwise consumed by the user. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#LAST_MODIFIED:kotlin.String` The date the row is last inserted, updated, or marked as deleted, in milliseconds since the epoch. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#LIMIT_PARAM_KEY:kotlin.String` Query parameter used to limit the number of call logs returned. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#LOCATION:kotlin.String` A reference to the location that was sent via call composer. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String` Where the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, indicates factors which may have lead the user to miss the call. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON_NOT_MISSED:kotlin.Long` Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set as the default value when a call was not missed. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` Call log type for missed calls. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#NEW:kotlin.String` Whether or not the call has been acknowledged |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#NUMBER:kotlin.String` The phone number as the user entered it. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#NUMBER_PRESENTATION:kotlin.String` The number presenting rules set by the network. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#OFFSET_PARAM_KEY:kotlin.String` Query parameter used to specify the starting record to return. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#OUTGOING_TYPE:kotlin.Int` Call log type for outgoing calls. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PHONE_ACCOUNT_COMPONENT_NAME:kotlin.String` The component name of the account used to place or receive the call; in string form. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PHONE_ACCOUNT_ID:kotlin.String` The identifier for the account used to place or receive the call. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#POST_DIAL_DIGITS:kotlin.String` The post-dial portion of a dialed number, including any digits dialed after a `https://developer.android.com/reference/kotlin/android/telecom/TelecomManager.html#DTMF_CHARACTER_PAUSE:kotlin.Char` or a `https://developer.android.com/reference/kotlin/android/telecom/TelecomManager.html#DTMF_CHARACTER_WAIT:kotlin.Char` and these characters themselves. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PREFERRED_DISPLAY_NAME:kotlin.String` The preferred name associated with the phone number, if it exists. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_ALLOWED:kotlin.Int` Number is allowed to display for caller id. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_PAYPHONE:kotlin.Int` Number is a pay phone. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_RESTRICTED:kotlin.Int` Number is blocked by user. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_UNAVAILABLE:kotlin.Int` Number is unavailable. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_UNKNOWN:kotlin.Int` Number is not specified or unknown by network. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY:kotlin.String` The priority of the call, as delivered via call composer. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY_NORMAL:kotlin.Int` Used as a value in the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY:kotlin.String` column. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY_URGENT:kotlin.Int` Used as a value in the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY:kotlin.String` column. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#REJECTED_TYPE:kotlin.Int` Call log type for calls rejected by direct user action. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#SUBJECT:kotlin.String` The subject of the call, as delivered via call composer. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TRANSCRIPTION:kotlin.String` Transcription of the call or voicemail entry. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` The type of the call. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_CALL_FILTERS_TIMEOUT:kotlin.Long` When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when the call filters timed out. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_CALL_SCREENING_SERVICE_SILENCED:kotlin.Long` When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when this call is silenced by the call screening service. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_DND_MODE:kotlin.Long` When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when this call is silenced because the phone is in 'do not disturb mode'. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_LOW_RING_VOLUME:kotlin.Long` When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when this call rings with a low ring volume. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_NO_ANSWER:kotlin.Long` When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when the call was missed just because user didn't answer it. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_NO_VIBRATE:kotlin.Long` When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` set this bit when this call rings without vibration. |
| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_SHORT_RING:kotlin.Long` When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when this call rang for a short period of time. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#UUID:kotlin.String` Constant for the UUID column. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#VIA_NUMBER:kotlin.String` For an incoming call, the secondary line number the call was received via. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#VOICEMAIL_TYPE:kotlin.Int` Call log type for voicemails. |
| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#VOICEMAIL_URI:kotlin.String` URI of the voicemail entry. |

Inherited constants From class `https://developer.android.com/reference/kotlin/android/provider/BaseColumns` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String`


The count of rows in a directory.

Type: INTEGER

<br />

`https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String`


The unique ID for a row.

Type: INTEGER (long)

<br />

| Public constructors ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#Calls()()` <br /> |

| Public methods ||
|---|---|
| open static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#getLastOutgoingCall(android.content.Context)(context: https://developer.android.com/reference/kotlin/android/content/Context.html#!)` Query the call log database for the last dialed number. |

| Properties ||
|---|---|
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_FILTER_URI:android.net.Uri` The content:// style URL for filtering this table on phone numbers |
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_URI:android.net.Uri` The content:// style URL for this table |
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#)! | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_URI_WITH_VOICEMAIL:android.net.Uri` Content uri used to access call log entries, including voicemail records. |
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_URI_WITH_VOIP_CALLS:android.net.Uri` Content uri used to access call log entries, including VOIP call records. |
| static [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html#) | `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_VOIP_URI:android.net.Uri` The content:// style URL for VoIP applications to query the data belongs to them. |

## Constants

### ANSWERED_EXTERNALLY_TYPE

Added in [API level 25](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ANSWERED_EXTERNALLY_TYPE: Int
```

Call log type for a call which was answered on another device. Used in situations where a call rings on multiple devices simultaneously and it ended up being answered on a device other than the current one.

    Value: 7

### ASSERTED_DISPLAY_NAME

Added in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ASSERTED_DISPLAY_NAME: String
```

String that stores the asserted display name associated with business call.

    Value: "asserted_display_name"

### AUTO_MISSED_EMERGENCY_CALL

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val AUTO_MISSED_EMERGENCY_CALL: Long
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` to indicate that a call was automatically rejected by system because an ongoing emergency call.

    Value: 1L

### AUTO_MISSED_MAXIMUM_DIALING

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val AUTO_MISSED_MAXIMUM_DIALING: Long
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` to indicate that a call was automatically rejected by system because the system cannot support any more dialing calls.

    Value: 4L

### AUTO_MISSED_MAXIMUM_RINGING

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val AUTO_MISSED_MAXIMUM_RINGING: Long
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` to indicate that a call was automatically rejected by system because the system cannot support any more ringing calls.

    Value: 2L

### AUTO_MISSED_UNWANTED

Added in [API level 37.2](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val AUTO_MISSED_UNWANTED: Long
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` to indicate that a call was automatically rejected by system because the call was marked as unwanted by the network.

    Value: 8L

### BLOCKED_TYPE

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCKED_TYPE: Int
```

Call log type for calls blocked automatically.

    Value: 6

### BLOCK_REASON

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCK_REASON: String
```

Where the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int`, indicates the reason why a call is blocked.

Type: INTEGER

Allowed values:

- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_NOT_BLOCKED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_CALL_SCREENING_SERVICE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_DIRECT_TO_VOICEMAIL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_BLOCKED_NUMBER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_UNKNOWN_NUMBER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_RESTRICTED_NUMBER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_PAY_PHONE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON_NOT_IN_CONTACTS:kotlin.Int`

<br />

    Value: "block_reason"

### BLOCK_REASON_BLOCKED_NUMBER

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCK_REASON_BLOCKED_NUMBER: Int
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because it is in the BlockedNumbers provider.

    Value: 3

### BLOCK_REASON_CALL_SCREENING_SERVICE

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCK_REASON_CALL_SCREENING_SERVICE: Int
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked by a CallScreeningService. The `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CALL_SCREENING_COMPONENT_NAME:kotlin.String` and `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CALL_SCREENING_APP_NAME:kotlin.String` columns will indicate which call screening service was responsible for blocking the call.

    Value: 1

### BLOCK_REASON_DIRECT_TO_VOICEMAIL

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCK_REASON_DIRECT_TO_VOICEMAIL: Int
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user configured a contact to be sent directly to voicemail.

    Value: 2

### BLOCK_REASON_NOT_BLOCKED

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCK_REASON_NOT_BLOCKED: Int
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set as the default value when a call was not blocked by a CallScreeningService or any other system call blocking method.

    Value: 0

### BLOCK_REASON_NOT_IN_CONTACTS

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCK_REASON_NOT_IN_CONTACTS: Int
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user has chosen to block all calls from numbers not in their contacts.

    Value: 7

### BLOCK_REASON_PAY_PHONE

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCK_REASON_PAY_PHONE: Int
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user has chosen to block all calls from pay phones.

    Value: 6

### BLOCK_REASON_RESTRICTED_NUMBER

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCK_REASON_RESTRICTED_NUMBER: Int
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user has chosen to block all calls from restricted numbers.

    Value: 5

### BLOCK_REASON_UNKNOWN_NUMBER

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BLOCK_REASON_UNKNOWN_NUMBER: Int
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCK_REASON:kotlin.String`, set when `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` to indicate that a call was blocked because the user has chosen to block all calls from unknown numbers.

    Value: 4

### CACHED_FORMATTED_NUMBER

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CACHED_FORMATTED_NUMBER: String
```

The cached phone number, formatted with formatting rules based on the country the user was in when the call was made or received.

This value is typically filled in by the dialer app for the caching purpose, so it's not guaranteed to be present, and may not be current if the contact information associated with this number has changed.

Type: TEXT

    Value: "formatted_number"

### CACHED_LOOKUP_URI

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CACHED_LOOKUP_URI: String
```

The cached URI to look up the contact associated with the phone number, if it exists.

This value is typically filled in by the dialer app for the caching purpose, so it's not guaranteed to be present, and may not be current if the contact information associated with this number has changed.

Type: TEXT

    Value: "lookup_uri"

### CACHED_MATCHED_NUMBER

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CACHED_MATCHED_NUMBER: String
```

The cached phone number of the contact which matches this entry, if it exists.

This value is typically filled in by the dialer app for the caching purpose, so it's not guaranteed to be present, and may not be current if the contact information associated with this number has changed.

Type: TEXT

    Value: "matched_number"

### CACHED_NAME

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CACHED_NAME: String
```

The cached name associated with the phone number, if it exists.

This value is typically filled in by the dialer app for the caching purpose, so it's not guaranteed to be present, and may not be current if the contact information associated with this number has changed.

Type: TEXT

    Value: "name"

### CACHED_NORMALIZED_NUMBER

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CACHED_NORMALIZED_NUMBER: String
```

The cached normalized(E164) version of the phone number, if it exists.

This value is typically filled in by the dialer app for the caching purpose, so it's not guaranteed to be present, and may not be current if the contact information associated with this number has changed.

Type: TEXT

    Value: "normalized_number"

### CACHED_NUMBER_LABEL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CACHED_NUMBER_LABEL: String
```

The cached number label, for a custom number type, associated with the phone number, if it exists.

This value is typically filled in by the dialer app for the caching purpose, so it's not guaranteed to be present, and may not be current if the contact information associated with this number has changed.

Type: TEXT

    Value: "numberlabel"

### CACHED_NUMBER_TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CACHED_NUMBER_TYPE: String
```

The cached number type (Home, Work, etc) associated with the phone number, if it exists.

This value is typically filled in by the dialer app for the caching purpose, so it's not guaranteed to be present, and may not be current if the contact information associated with this number has changed.

Type: INTEGER

    Value: "numbertype"

### CACHED_PHOTO_ID

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CACHED_PHOTO_ID: String
```

The cached photo id of the picture associated with the phone number, if it exists.

This value is typically filled in by the dialer app for the caching purpose, so it's not guaranteed to be present, and may not be current if the contact information associated with this number has changed.

Type: INTEGER (long)

    Value: "photo_id"

### CACHED_PHOTO_URI

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CACHED_PHOTO_URI: String
```

The cached photo URI of the picture associated with the phone number, if it exists.

This value is typically filled in by the dialer app for the caching purpose, so it's not guaranteed to be present, and may not be current if the contact information associated with this number has changed.

Type: TEXT (URI)

    Value: "photo_uri"

### CALL_SCREENING_APP_NAME

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CALL_SCREENING_APP_NAME: String
```

The name of the app which blocked a call. Will be populated when the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int`. Provided as a convenience so that the call log can still indicate which app blocked a call, even if that app is no longer installed.

Type: TEXT

    Value: "call_screening_app_name"

### CALL_SCREENING_COMPONENT_NAME

Added in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CALL_SCREENING_COMPONENT_NAME: String
```

The ComponentName of the CallScreeningService which blocked this call. Will be populated when the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int`.

Type: TEXT

    Value: "call_screening_component_name"

### COMPOSER_PHOTO_URI

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val COMPOSER_PHOTO_URI: String
```

A reference to the picture that was sent via call composer. The string contained in this field should be converted to an `https://developer.android.com/reference/kotlin/android/net/Uri.html#` via `https://developer.android.com/reference/kotlin/android/net/Uri.html#parse(kotlin.String)`, then passed to android.content.ContentResolver#openFileDescriptor in order to obtain a file descriptor to access the picture data. The user may choose to delete the picture associated with a call independently of the call log entry, in which case android.content.ContentResolver#openFileDescriptor may throw a `https://developer.android.com/reference/kotlin/java/io/FileNotFoundException.html#`. Note that pictures sent or received via call composer will not be included in any backups of the call log.

Type: TEXT

    Value: "composer_photo_uri"

### CONTENT_ITEM_TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CONTENT_ITEM_TYPE: String
```

The MIME type of a `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_URI:android.net.Uri` sub-directory of a single call.

    Value: "vnd.android.cursor.item/calls"

### CONTENT_TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CONTENT_TYPE: String
```

The MIME type of `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_URI:android.net.Uri` and `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_FILTER_URI:android.net.Uri` providing a directory of calls.

    Value: "vnd.android.cursor.dir/calls"

### COUNTRY_ISO

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val COUNTRY_ISO: String
```

The ISO 3166-1 two letters country code of the country where the user received or made the call.

Type: TEXT

    Value: "countryiso"

### DATA_USAGE

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DATA_USAGE: String
```

The data usage of the call in bytes.

Type: INTEGER (long)

    Value: "data_usage"

### DATE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DATE: String
```

The date the call occured, in milliseconds since the epoch

Type: INTEGER (long)

    Value: "date"

### DEFAULT_SORT_ORDER

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DEFAULT_SORT_ORDER: String
```

The default sort order for this table

    Value: "date DESC"

### DURATION

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DURATION: String
```

The duration of the call in seconds

Type: INTEGER (long)

    Value: "duration"

### EXTRA_CALL_TYPE_FILTER

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val EXTRA_CALL_TYPE_FILTER: String
```

An optional extra used with `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#CONTENT_TYPE:kotlin.String` and `https://developer.android.com/reference/kotlin/android/content/Intent.html#ACTION_VIEW:kotlin.String` to specify that the presented list of calls should be filtered for a particular call type. Applications implementing a call log UI should check for this extra, and display a filtered list of calls based on the specified call type. If not applicable within the application's UI, it should be silently ignored.

The following example brings up the call log, showing only missed calls.

```kotlin
Intent intent = new Intent(Intent.ACTION_VIEW);
  intent.setType(CallLog.Calls.CONTENT_TYPE);
  intent.putExtra(CallLog.Calls.EXTRA_CALL_TYPE_FILTER, CallLog.Calls.MISSED_TYPE);
  startActivity(intent);
  
```

<br />

    Value: "android.provider.extra.CALL_TYPE_FILTER"

### FEATURES

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES: String
```

Bit-mask describing features of the call (e.g. video).

Type: INTEGER (int)

    Value: "features"

### FEATURES_ASSISTED_DIALING_USED

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_ASSISTED_DIALING_USED: Int
```

Indicates the call underwent Assisted Dialing.

    Value: 16

**See Also**

- `https://developer.android.com/reference/kotlin/android/telecom/TelecomManager.html#EXTRA_USE_ASSISTED_DIALING:kotlin.String`

### FEATURES_GROUP_CALL

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_GROUP_CALL: Int
```

Indicates that this was a group call.

    Value: 512

### FEATURES_HD_CALL

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_HD_CALL: Int
```

Call was HD.

    Value: 4

### FEATURES_HD_PLUS_CALL

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_HD_PLUS_CALL: Int
```

Call was HD+

    Value: 128

### FEATURES_PULLED_EXTERNALLY

Added in [API level 25](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_PULLED_EXTERNALLY: Int
```

Call was pulled externally.

    Value: 2

### FEATURES_RTT

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_RTT: Int
```

Call was on RTT at some point

    Value: 32

### FEATURES_VIDEO

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_VIDEO: Int
```

Call had video.

    Value: 1

### FEATURES_VOLTE

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_VOLTE: Int
```

Call was VoLTE

    Value: 64

### FEATURES_VONR

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_VONR: Int
```

Call used VoNR (Voice Over New Radio; aka 5G) (ie `https://developer.android.com/reference/kotlin/android/telephony/TelephonyManager.html#NETWORK_TYPE_NR:kotlin.Int`).

    Value: 256

### FEATURES_WIFI

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FEATURES_WIFI: Int
```

Call was WIFI call.

    Value: 8

### GEOCODED_LOCATION

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val GEOCODED_LOCATION: String
```

A geocoded location for the number associated with this call.

The string represents a city, state, or country associated with the number.

Type: TEXT

    Value: "geocoded_location"

### INCLUDE_VOIP_CALLS_PARAM_KEY

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val INCLUDE_VOIP_CALLS_PARAM_KEY: String
```

An optional URI parameter which instructs the provider to allow the operation to be applied to VOIP call records as well.

TYPE: Boolean

    Value: "include_voip_calls"

### INCOMING_TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val INCOMING_TYPE: Int
```

Call log type for incoming calls.

    Value: 1

### IS_BUSINESS_CALL

Added in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val IS_BUSINESS_CALL: String
```

Boolean indicating whether the call is a business call.

    Value: "is_business_call"

### IS_READ

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val IS_READ: String
```

Whether this item has been read or otherwise consumed by the user.

Unlike the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#NEW:kotlin.String` field, which requires the user to have acknowledged the existence of the entry, this implies the user has interacted with the entry.

Type: INTEGER (boolean)

    Value: "is_read"

### LAST_MODIFIED

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LAST_MODIFIED: String
```

The date the row is last inserted, updated, or marked as deleted, in milliseconds since the epoch. Read only.

Type: INTEGER (long)

    Value: "last_modified"

### LIMIT_PARAM_KEY

Added in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LIMIT_PARAM_KEY: String
```

Query parameter used to limit the number of call logs returned.

TYPE: integer

    Value: "limit"

### LOCATION

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LOCATION: String
```

A reference to the location that was sent via call composer. This column contains the content URI of the corresponding entry in `https://developer.android.com/reference/kotlin/android/provider/CallLog.Locations` table, which contains the actual location data. The `https://developer.android.com/reference/kotlin/android/Manifest.permission.html#ACCESS_FINE_LOCATION:kotlin.String` permission is required to access that table. If your app has the appropriate permissions, the location data may be obtained by converting the value of this column to an `https://developer.android.com/reference/kotlin/android/net/Uri.html#` via `https://developer.android.com/reference/kotlin/android/net/Uri.html#parse(kotlin.String)`, then passing the result to android.content.ContentResolver#query. The user may choose to delete the location associated with a call independently of the call log entry, in which case the `https://developer.android.com/reference/kotlin/android/database/Cursor.html#` returned from android.content.ContentResolver#query will either be `null` or empty, with `https://developer.android.com/reference/kotlin/android/database/Cursor.html#getCount()` returning `0`. This column will not be populated when a call is received while the device is locked, and it will not be part of any backups.

Type: TEXT

    Value: "location"

### MISSED_REASON

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MISSED_REASON: String
```

Where the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, indicates factors which may have lead the user to miss the call.

Type: INTEGER

There are two main cases. Auto missed cases and user missed cases. Default value is:

- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON_NOT_MISSED:kotlin.Long`

<br />

Auto missed cases are those where a call was missed because it was not possible for the incoming call to be presented to the user at all. Possible values are:

- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#AUTO_MISSED_EMERGENCY_CALL:kotlin.Long`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#AUTO_MISSED_MAXIMUM_RINGING:kotlin.Long`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#AUTO_MISSED_MAXIMUM_DIALING:kotlin.Long`

<br />

User missed cases are those where the incoming call was presented to the user, but factors such as a low ringing volume may have contributed to the call being missed. Following bits can be set to indicate possible reasons for this:

- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_SHORT_RING:kotlin.Long`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_DND_MODE:kotlin.Long`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_LOW_RING_VOLUME:kotlin.Long`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_NO_VIBRATE:kotlin.Long`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_CALL_SCREENING_SERVICE_SILENCED:kotlin.Long`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#USER_MISSED_CALL_FILTERS_TIMEOUT:kotlin.Long`

<br />

    Value: "missed_reason"

### MISSED_REASON_NOT_MISSED

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MISSED_REASON_NOT_MISSED: Long
```

Value for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_REASON:kotlin.String`, set as the default value when a call was not missed.

    Value: 0L

### MISSED_TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MISSED_TYPE: Int
```

Call log type for missed calls.

    Value: 3

### NEW

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val NEW: String
```

Whether or not the call has been acknowledged

Type: INTEGER (boolean)

    Value: "new"

### NUMBER

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val NUMBER: String
```

The phone number as the user entered it.

Type: TEXT

    Value: "number"

### NUMBER_PRESENTATION

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val NUMBER_PRESENTATION: String
```

The number presenting rules set by the network.

Allowed values:

- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_ALLOWED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_RESTRICTED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_UNKNOWN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_PAYPHONE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRESENTATION_UNAVAILABLE:kotlin.Int`

<br />

Type: INTEGER

    Value: "presentation"

### OFFSET_PARAM_KEY

Added in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val OFFSET_PARAM_KEY: String
```

Query parameter used to specify the starting record to return.

TYPE: integer

    Value: "offset"

### OUTGOING_TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val OUTGOING_TYPE: Int
```

Call log type for outgoing calls.

    Value: 2

### PHONE_ACCOUNT_COMPONENT_NAME

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PHONE_ACCOUNT_COMPONENT_NAME: String
```

The component name of the account used to place or receive the call; in string form.

Type: TEXT

    Value: "subscription_component_name"

### PHONE_ACCOUNT_ID

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PHONE_ACCOUNT_ID: String
```

The identifier for the account used to place or receive the call.

Type: TEXT

    Value: "subscription_id"

### POST_DIAL_DIGITS

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val POST_DIAL_DIGITS: String
```

The post-dial portion of a dialed number, including any digits dialed after a `https://developer.android.com/reference/kotlin/android/telecom/TelecomManager.html#DTMF_CHARACTER_PAUSE:kotlin.Char` or a `https://developer.android.com/reference/kotlin/android/telecom/TelecomManager.html#DTMF_CHARACTER_WAIT:kotlin.Char` and these characters themselves.

Type: TEXT

    Value: "post_dial_digits"

### PREFERRED_DISPLAY_NAME

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PREFERRED_DISPLAY_NAME: String
```

The preferred name associated with the phone number, if it exists.

This value is typically filled in with the caller name presentation (CNAP) name to be used as the preferred name that should be displayed in the call log. This is notified from the network and propagated into com.android.server.telecom.Call#getCallerDisplayName(). However, this field can be extended to account for other use cases as well.

Type: TEXT

    Value: "preferred_display_name"

### PRESENTATION_ALLOWED

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PRESENTATION_ALLOWED: Int
```

Number is allowed to display for caller id.

    Value: 1

### PRESENTATION_PAYPHONE

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PRESENTATION_PAYPHONE: Int
```

Number is a pay phone.

    Value: 4

### PRESENTATION_RESTRICTED

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PRESENTATION_RESTRICTED: Int
```

Number is blocked by user.

    Value: 2

### PRESENTATION_UNAVAILABLE

Added in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PRESENTATION_UNAVAILABLE: Int
```

Number is unavailable.

    Value: 5

### PRESENTATION_UNKNOWN

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PRESENTATION_UNKNOWN: Int
```

Number is not specified or unknown by network.

    Value: 3

### PRIORITY

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PRIORITY: String
```

The priority of the call, as delivered via call composer. For outgoing calls, contains the priority set by the local user. For incoming calls, contains the priority set by the remote caller. If no priority was set or the call did not include call composer elements, defaults to `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY_NORMAL:kotlin.Int`. Valid values are `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY_NORMAL:kotlin.Int` and `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY_URGENT:kotlin.Int`.

Type: INTEGER

    Value: "priority"

### PRIORITY_NORMAL

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PRIORITY_NORMAL: Int
```

Used as a value in the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY:kotlin.String` column. Indicates that the call is of normal priority. This is also the default value for calls that did not include call composer elements.

    Value: 0

### PRIORITY_URGENT

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val PRIORITY_URGENT: Int
```

Used as a value in the `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#PRIORITY:kotlin.String` column. Indicates that the call is of urgent priority.

    Value: 1

### REJECTED_TYPE

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val REJECTED_TYPE: Int
```

Call log type for calls rejected by direct user action.

    Value: 5

### SUBJECT

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SUBJECT: String
```

The subject of the call, as delivered via call composer. For outgoing calls, contains the subject set by the local user. For incoming calls, contains the subject set by the remote caller. May be null if no subject was set.

Type: TEXT

    Value: "subject"

### TRANSCRIPTION

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TRANSCRIPTION: String
```

Transcription of the call or voicemail entry. This will only be populated for call log entries of type `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#VOICEMAIL_TYPE:kotlin.Int` that have valid transcriptions.

    Value: "transcription"

### TYPE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE: String
```

The type of the call.

Type: INTEGER (int)

Allowed values:

- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#INCOMING_TYPE:kotlin.Int` - an incoming call which the user answered.
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#OUTGOING_TYPE:kotlin.Int` - an outgoing call which was placed by the user.
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` - a call that rang without the user answering it.
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#VOICEMAIL_TYPE:kotlin.Int` - a call log entry associated with voicemail.
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#REJECTED_TYPE:kotlin.Int` - an incoming call rejected by the user.
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#BLOCKED_TYPE:kotlin.Int` - the call was blocked by a `https://developer.android.com/reference/kotlin/android/telecom/CallScreeningService.html#`
or the system block list.
- `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#ANSWERED_EXTERNALLY_TYPE:kotlin.Int` - used for SIM twinning scenarios where a call may have been answered on another device.

<br />

    Value: "type"

### USER_MISSED_CALL_FILTERS_TIMEOUT

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USER_MISSED_CALL_FILTERS_TIMEOUT: Long
```

When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when the call filters timed out.

    Value: 4194304L

### USER_MISSED_CALL_SCREENING_SERVICE_SILENCED

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USER_MISSED_CALL_SCREENING_SERVICE_SILENCED: Long
```

When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when this call is silenced by the call screening service.

    Value: 2097152L

### USER_MISSED_DND_MODE

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USER_MISSED_DND_MODE: Long
```

When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when this call is silenced because the phone is in 'do not disturb mode'.

    Value: 262144L

### USER_MISSED_LOW_RING_VOLUME

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USER_MISSED_LOW_RING_VOLUME: Long
```

When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when this call rings with a low ring volume.

    Value: 524288L

### USER_MISSED_NO_ANSWER

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USER_MISSED_NO_ANSWER: Long
```

When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when the call was missed just because user didn't answer it.

    Value: 65536L

### USER_MISSED_NO_VIBRATE

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USER_MISSED_NO_VIBRATE: Long
```

When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int` set this bit when this call rings without vibration.

    Value: 1048576L

### USER_MISSED_SHORT_RING

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val USER_MISSED_SHORT_RING: Long
```

When `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#TYPE:kotlin.String` is `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#MISSED_TYPE:kotlin.Int`, set this bit when this call rang for a short period of time.

    Value: 131072L

### UUID

Added in [API level 36.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val UUID: String
```

Constant for the UUID column. This column contains the UUID generated by Telecom when adding the call, which is a unique identifier associated with a call. Applications can retrieve the value using `https://developer.android.com/reference/kotlin/android/telecom/CallControl.html#getCallId()` during the call session.

Type: TEXT

    Value: "uuid"

### VIA_NUMBER

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val VIA_NUMBER: String
```

For an incoming call, the secondary line number the call was received via. When a SIM card has multiple phone numbers associated with it, the via number indicates which of the numbers associated with the SIM was called.

    Value: "via_number"

### VOICEMAIL_TYPE

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val VOICEMAIL_TYPE: Int
```

Call log type for voicemails.

    Value: 4

### VOICEMAIL_URI

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val VOICEMAIL_URI: String
```

URI of the voicemail entry. Populated only for `https://developer.android.com/reference/kotlin/android/provider/CallLog.Calls#VOICEMAIL_TYPE:kotlin.Int`.

Type: TEXT

    Value: "voicemail_uri"

## Public constructors

### Calls

```
Calls()
```

## Public methods

### getLastOutgoingCall

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open static fun getLastOutgoingCall(context: Context!): String!
```

Query the call log database for the last dialed number.

| Parameters ||
|---|---|
| `context` | [Context](https://developer.android.com/reference/kotlin/android/content/Context.html#)!: Used to get the content resolver. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!` | The last phone number dialed (outgoing) or an empty string if none exist yet. |

## Properties

### CONTENT_FILTER_URI

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CONTENT_FILTER_URI: Uri!
```

The content:// style URL for filtering this table on phone numbers

### CONTENT_URI

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CONTENT_URI: Uri!
```

The content:// style URL for this table

### CONTENT_URI_WITH_VOICEMAIL

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CONTENT_URI_WITH_VOICEMAIL: Uri!
```

Content uri used to access call log entries, including voicemail records. You must have the READ_CALL_LOG and WRITE_CALL_LOG permissions to read and write to the call log, as well as READ_VOICEMAIL and WRITE_VOICEMAIL permissions to read and write voicemails.

### CONTENT_URI_WITH_VOIP_CALLS

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CONTENT_URI_WITH_VOIP_CALLS: Uri
```

Content uri used to access call log entries, including VOIP call records. You must have the READ_CALL_LOG and WRITE_CALL_LOG permissions to read and write to the call log.

### CONTENT_VOIP_URI

Added in [API level 36.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CONTENT_VOIP_URI: Uri
```

The content:// style URL for VoIP applications to query the data belongs to them.

Applications granted the MANAGE_OWN_CALLS permission can access their own logs.