ProviderStatus
class ProviderStatus
kotlin.Any | |
↳ | android.provider.ContactsContract.ProviderStatus |
API for inquiring about the general status of the provider.
Summary
Constants | |
---|---|
static String |
The MIME-type of |
static String |
Timestamp (milliseconds since epoch) of when the provider's database was created. |
static String |
An integer representing the current status of the provider. |
static Int |
The provider won't respond to queries. |
static Int |
The status that indicates that there are no accounts and no contacts on the device. |
static Int |
Default status of the provider. |
Properties | |
---|---|
static Uri! |
The content:// style URI for this table. |
Constants
CONTENT_TYPE
static val CONTENT_TYPE: String
The MIME-type of CONTENT_URI
providing a directory of settings.
Value: "vnd.android.cursor.dir/provider_status"
DATABASE_CREATION_TIMESTAMP
static val DATABASE_CREATION_TIMESTAMP: String
Timestamp (milliseconds since epoch) of when the provider's database was created.
Type: long
Value: "database_creation_timestamp"
STATUS
static val STATUS: String
An integer representing the current status of the provider.
Value: "status"
STATUS_BUSY
static val STATUS_BUSY: Int
The provider won't respond to queries. It is in the middle of a long running task, such as a database upgrade or locale change.
Value: 1
STATUS_EMPTY
static val STATUS_EMPTY: Int
The status that indicates that there are no accounts and no contacts on the device.
Value: 2
STATUS_NORMAL
static val STATUS_NORMAL: Int
Default status of the provider.
Value: 0
Properties
CONTENT_URI
static val CONTENT_URI: Uri!
The content:// style URI for this table. Requests to this URI can be performed on the UI thread because they are always unblocking.