public static final class VoicemailContract.Voicemails extends Object implements BaseColumns, OpenableColumns
Modifier and Type | Field and Description |
---|---|
static String |
_DATA
Path to the media content file.
|
static Uri |
CONTENT_URI
URI to insert/retrieve voicemails.
|
static String |
DATE
The date the voicemail was sent, in milliseconds since the epoch
|
static String |
DIR_TYPE
The MIME type for a collection of voicemails.
|
static String |
DURATION
The duration of the voicemail in seconds.
|
static String |
HAS_CONTENT
Whether the media content for this voicemail is available for
consumption.
|
static String |
IS_READ
Whether this item has been read or otherwise consumed by the user.
|
static String |
ITEM_TYPE
The MIME type for a single voicemail.
|
static String |
MIME_TYPE
MIME type of the media content for the voicemail.
|
static String |
NUMBER
Phone number of the voicemail sender.
|
static String |
SOURCE_DATA
Application-specific data available to the source application that
inserted the voicemail.
|
static String |
SOURCE_PACKAGE
Package name of the source application that inserted the voicemail.
|
static String |
STATE
The mail box state of the voicemail.
|
static int |
STATE_DELETED
Value of
STATE when the voicemail has been marked as deleted. |
static int |
STATE_INBOX
Value of
STATE when the voicemail is in inbox. |
static int |
STATE_UNDELETED
Value of
STATE when the voicemail has marked as undeleted. |
_COUNT, _ID
DISPLAY_NAME, SIZE
Modifier and Type | Method and Description |
---|---|
static Uri |
buildSourceUri(String packageName)
A convenience method to build voicemail URI specific to a source package by appending
VoicemailContract.PARAM_KEY_SOURCE_PACKAGE param to the base URI. |
public static final Uri CONTENT_URI
public static final String DIR_TYPE
public static final String ITEM_TYPE
public static final String NUMBER
Type: TEXT
public static final String DATE
Type: INTEGER (long)
public static final String DURATION
Type: INTEGER (long)
public static final String IS_READ
Type: INTEGER (boolean)
public static final String STATE
Possible values: STATE_INBOX
, STATE_DELETED
,
STATE_UNDELETED
.
Type: INTEGER
public static int STATE_INBOX
STATE
when the voicemail is in inbox.public static int STATE_DELETED
STATE
when the voicemail has been marked as deleted.public static int STATE_UNDELETED
STATE
when the voicemail has marked as undeleted.public static final String SOURCE_PACKAGE
Type: TEXT
public static final String SOURCE_DATA
Type: TEXT
Note that this is NOT the voicemail media content data.
public static final String HAS_CONTENT
Type: INTEGER (boolean)
public static final String MIME_TYPE
Type: TEXT
public static final String _DATA
public static Uri buildSourceUri(String packageName)
VoicemailContract.PARAM_KEY_SOURCE_PACKAGE
param to the base URI.