public
static
class
BlockedNumberContract.BlockedNumbers
extends Object
java.lang.Object | |
↳ | android.provider.BlockedNumberContract.BlockedNumbers |
Constants to interact with the blocked numbers list.
Constants | |
---|---|
String |
COLUMN_E164_NUMBER
Phone number to block. |
String |
COLUMN_ID
Auto-generated ID field which monotonically increases. |
String |
COLUMN_ORIGINAL_NUMBER
Phone number to block. |
String |
CONTENT_ITEM_TYPE
The MIME type of a blocked phone number under |
String |
CONTENT_TYPE
The MIME type of |
Fields | |
---|---|
public
static
final
Uri |
CONTENT_URI
Content URI for the blocked numbers. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
String COLUMN_E164_NUMBER
Phone number to block. The system generates it from COLUMN_ORIGINAL_NUMBER
by removing all formatting characters.
Optional in insert
. When not specified, the system tries to generate it
assuming the current country. (Which will still be null if the number is not valid.)
TYPE: String
Constant Value: "e164_number"
String COLUMN_ID
Auto-generated ID field which monotonically increases.
TYPE: long
Constant Value: "_id"
String COLUMN_ORIGINAL_NUMBER
Phone number to block.
Must be specified in insert
.
TYPE: String
Constant Value: "original_number"
String CONTENT_ITEM_TYPE
The MIME type of a blocked phone number under CONTENT_URI
.
Constant Value: "vnd.android.cursor.item/blocked_number"
String CONTENT_TYPE
The MIME type of CONTENT_URI
itself providing a directory of blocked phone
numbers.
Constant Value: "vnd.android.cursor.dir/blocked_number"
Uri CONTENT_URI
Content URI for the blocked numbers.
blocked
blocked/ID