Stay organized with collections
Save and categorize content based on your preferences.
Locations
open class Locations : BaseColumns
Table that contains information on location data sent via call composer. All fields in this table require the Manifest.permission.ACCESS_FINE_LOCATION
permission for access.
Summary
Constants |
static String |
Authority for the locations content provider.
|
static String |
Content type for the location entries.
|
static String |
Content type for the location table.
|
static String |
Latitude in degrees.
|
static String |
Longitude in degrees.
|
Properties |
static Uri |
The content URI for this table
|
Constants
AUTHORITY
static val AUTHORITY: String
Authority for the locations content provider.
Value: "call_composer_locations"
CONTENT_ITEM_TYPE
static val CONTENT_ITEM_TYPE: String
Content type for the location entries.
Value: "vnd.android.cursor.item/call_composer_location"
CONTENT_TYPE
static val CONTENT_TYPE: String
Content type for the location table.
Value: "vnd.android.cursor.dir/call_composer_location"
Properties
CONTENT_URI
static val CONTENT_URI: Uri
The content URI for this table
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,["# CallLog.Locations\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nLocations\n=========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/CallLog.Locations \"View this page in Java\") \n\n```\nopen class Locations : BaseColumns\n```\n\n|---|-----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.provider.CallLog.Locations](#) |\n\nTable that contains information on location data sent via call composer. All fields in this table require the [Manifest.permission.ACCESS_FINE_LOCATION](../Manifest.permission.html#ACCESS_FINE_LOCATION:kotlin.String) permission for access.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [AUTHORITY](#AUTHORITY:kotlin.String) Authority for the locations content provider. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTENT_ITEM_TYPE](#CONTENT_ITEM_TYPE:kotlin.String) Content type for the location entries. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTENT_TYPE](#CONTENT_TYPE:kotlin.String) Content type for the location table. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LATITUDE](#LATITUDE:kotlin.String) Latitude in degrees. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LONGITUDE](#LONGITUDE:kotlin.String) Longitude in degrees. |\n\n| Inherited constants ||\n|---|---|\n| From class [BaseColumns](/reference/kotlin/android/provider/BaseColumns) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String) The count of rows in a directory. Type: INTEGER \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) The unique ID for a row. Type: INTEGER (long) \u003cbr /\u003e | ||\n\n| Properties ||\n|--------------------------------|----------------------------------------------------------------------------|\n| static [Uri](../net/Uri.html#) | [CONTENT_URI](#CONTENT_URI:android.net.Uri) The content URI for this table |\n\nConstants\n---------\n\n### AUTHORITY\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val AUTHORITY: String\n```\n\nAuthority for the locations content provider. \n\n Value: \"call_composer_locations\"\n\n### CONTENT_ITEM_TYPE\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_ITEM_TYPE: String\n```\n\nContent type for the location entries. \n\n Value: \"vnd.android.cursor.item/call_composer_location\"\n\n### CONTENT_TYPE\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_TYPE: String\n```\n\nContent type for the location table. \n\n Value: \"vnd.android.cursor.dir/call_composer_location\"\n\n### LATITUDE\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LATITUDE: String\n```\n\nLatitude in degrees. See [android.location.Location#setLatitude(double)](../location/Location.html#setLatitude(kotlin.Double)).\n\nType: REAL \n\n Value: \"latitude\"\n\n### LONGITUDE\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LONGITUDE: String\n```\n\nLongitude in degrees. See [android.location.Location#setLongitude(double)](../location/Location.html#setLongitude(kotlin.Double)).\n\nType: REAL \n\n Value: \"longitude\"\n\nProperties\n----------\n\n### CONTENT_URI\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_URI: Uri\n```\n\nThe content URI for this table"]]