public
static
final
class
VoicemailContract.Voicemails
extends Object
implements
BaseColumns,
OpenableColumns
java.lang.Object | |
↳ | android.provider.VoicemailContract.Voicemails |
Defines fields exposed through the /voicemail path of this content provider.
Constants | |
---|---|
String |
DATE
The date the voicemail was sent, in milliseconds since the epoch Type: INTEGER (long) |
String |
DELETED
Flag used to indicate that the voicemail was deleted but not synced to the server. |
String |
DIRTY
Flag used to indicate that local, unsynced changes are present. |
String |
DIR_TYPE
The MIME type for a collection of voicemails. |
String |
DURATION
The duration of the voicemail in seconds. |
String |
HAS_CONTENT
Whether the media content for this voicemail is available for consumption. |
String |
IS_READ
Whether this item has been read or otherwise consumed by the user. |
String |
ITEM_TYPE
The MIME type for a single voicemail. |
String |
LAST_MODIFIED
The date the row is last inserted, updated, or marked as deleted, in milliseconds since the epoch. |
String |
MIME_TYPE
MIME type of the media content for the voicemail. |
String |
NUMBER
Phone number of the voicemail sender. |
String |
PHONE_ACCOUNT_COMPONENT_NAME
The |
String |
PHONE_ACCOUNT_ID
The identifier of a |
String |
SOURCE_DATA
Application-specific data available to the source application that inserted the voicemail. |
String |
SOURCE_PACKAGE
Package name of the source application that inserted the voicemail. |
String |
TRANSCRIPTION
The transcription of the voicemail entry. |
Inherited constants |
---|
From
interface
android.provider.BaseColumns
|
From
interface
android.provider.OpenableColumns
|
Fields | |
---|---|
public
static
final
Uri |
CONTENT_URI
URI to insert/retrieve voicemails. |
Public methods | |
---|---|
static
Uri
|
buildSourceUri(String packageName)
A convenience method to build voicemail URI specific to a source package by appending
|
Inherited methods | |
---|---|
From
class
java.lang.Object
|
String DATE
The date the voicemail was sent, in milliseconds since the epoch
Type: INTEGER (long)
Constant Value: "date"
String DELETED
Flag used to indicate that the voicemail was deleted but not synced to the server. A deleted row should be ignored. The value will be 1 if deleted is true, 0 if false.
Type: INTEGER (boolean)
Constant Value: "deleted"
String DIRTY
Flag used to indicate that local, unsynced changes are present. Currently, this is used to indicate that the voicemail was read or deleted. The value will be 1 if dirty is true, 0 if false.
Type: INTEGER (boolean)
Constant Value: "dirty"
String DIR_TYPE
The MIME type for a collection of voicemails.
Constant Value: "vnd.android.cursor.dir/voicemails"
String DURATION
The duration of the voicemail in seconds.
Type: INTEGER (long)
Constant Value: "duration"
String HAS_CONTENT
Whether the media content for this voicemail is available for consumption.
Type: INTEGER (boolean)
Constant Value: "has_content"
String IS_READ
Whether this item has been read or otherwise consumed by the user.
Type: INTEGER (boolean)
Constant Value: "is_read"
String ITEM_TYPE
The MIME type for a single voicemail.
Constant Value: "vnd.android.cursor.item/voicemail"
String LAST_MODIFIED
The date the row is last inserted, updated, or marked as deleted, in milliseconds since the epoch. Read only.
Type: INTEGER (long)
Constant Value: "last_modified"
String MIME_TYPE
MIME type of the media content for the voicemail.
Type: TEXT
Constant Value: "mime_type"
String NUMBER
Phone number of the voicemail sender.
Type: TEXT
Constant Value: "number"
String PHONE_ACCOUNT_COMPONENT_NAME
The ComponentName
of the PhoneAccount
in string form. The
PhoneAccount
of the voicemail is used to differentiate voicemails from different
sources.
Type: TEXT
Constant Value: "subscription_component_name"
String PHONE_ACCOUNT_ID
The identifier of a PhoneAccount
that is unique to a specified
ComponentName
. The PhoneAccount
of the voicemail is used to differentiate
voicemails from different sources.
Type: TEXT
Constant Value: "subscription_id"
String SOURCE_DATA
Application-specific data available to the source application that inserted the voicemail. This is typically used to store the source specific message id to identify this voicemail on the remote voicemail server.
Type: TEXT
Note that this is NOT the voicemail media content data.
Constant Value: "source_data"
String SOURCE_PACKAGE
Package name of the source application that inserted the voicemail.
Type: TEXT
Constant Value: "source_package"
String TRANSCRIPTION
The transcription of the voicemail entry. This will only be populated if the voicemail entry has a valid transcription.
Type: TEXT
Constant Value: "transcription"
Uri buildSourceUri (String packageName)
A convenience method to build voicemail URI specific to a source package by appending
PARAM_KEY_SOURCE_PACKAGE
param to the base URI.
Parameters | |
---|---|
packageName |
String
|
Returns | |
---|---|
Uri |