Added in API level 31

SimPhonebookContract


class SimPhonebookContract
kotlin.Any
   ↳ android.provider.SimPhonebookContract

The contract between the provider of contact records on the device's SIM cards and applications. Contains definitions of the supported URIs and columns.

Permissions

Querying this provider requires android.Manifest.permission#READ_CONTACTS and writing to this provider requires android.Manifest.permission#WRITE_CONTACTS

Summary

Nested classes

Constants for metadata about the elementary files of the SIM cards in the phone.

Constants for the contact records on a SIM card.

Constants
static String

The authority for the SIM phonebook provider.

Properties
static Uri

The content:// style uri to the authority for the SIM phonebook provider.

Constants

AUTHORITY

Added in API level 31
static val AUTHORITY: String

The authority for the SIM phonebook provider.

Value: "com.android.simphonebook"

Properties

AUTHORITY_URI

Added in API level 31
static val AUTHORITY_URI: Uri

The content:// style uri to the authority for the SIM phonebook provider.