public static final class VoicemailContract.Status
extends Object
implements BaseColumns
java.lang.Object | |
↳ | android.provider.VoicemailContract.Status |
Defines fields exposed through the /status path of this content provider.
Constants |
|
---|---|
String |
CONFIGURATION_STATE The configuration state of the voicemail source. |
int |
CONFIGURATION_STATE_CAN_BE_CONFIGURED Value of |
int |
CONFIGURATION_STATE_NOT_CONFIGURED Value of |
int |
CONFIGURATION_STATE_OK Value of |
String |
DATA_CHANNEL_STATE The data channel state of the voicemail source. |
int |
DATA_CHANNEL_STATE_BAD_CONFIGURATION Value of |
int |
DATA_CHANNEL_STATE_COMMUNICATION_ERROR Value of |
int |
DATA_CHANNEL_STATE_NO_CONNECTION Value of |
int |
DATA_CHANNEL_STATE_NO_CONNECTION_CELLULAR_REQUIRED Value of |
int |
DATA_CHANNEL_STATE_OK Value of |
int |
DATA_CHANNEL_STATE_SERVER_CONNECTION_ERROR Value of |
int |
DATA_CHANNEL_STATE_SERVER_ERROR Value of |
String |
DIR_TYPE The MIME type for a collection of voicemail source statuses. |
String |
ITEM_TYPE The MIME type for a single voicemail source status entry. |
String |
NOTIFICATION_CHANNEL_STATE The notification channel state of the voicemail source. |
int |
NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING Value of |
int |
NOTIFICATION_CHANNEL_STATE_NO_CONNECTION Value of |
int |
NOTIFICATION_CHANNEL_STATE_OK Value of |
String |
PHONE_ACCOUNT_COMPONENT_NAME The |
String |
PHONE_ACCOUNT_ID The identifier of a |
String |
QUOTA_OCCUPIED Amount of resource that is used by existing voicemail in the visual voicemail inbox, or |
String |
QUOTA_TOTAL Total resource in the visual voicemail inbox that can be used, or |
int |
QUOTA_UNAVAILABLE Value for |
String |
SETTINGS_URI The URI to call to invoke source specific voicemail settings screen. |
String |
SOURCE_PACKAGE The package name of the voicemail source. |
String |
VOICEMAIL_ACCESS_URI The URI to call when the user requests to directly access the voicemail from the remote server. |
Inherited constants |
---|
![]() android.provider.BaseColumns
|
Fields |
|
---|---|
public static final Uri |
CONTENT_URI URI to insert/retrieve status of voicemail source. |
Public methods |
|
---|---|
static Uri |
buildSourceUri(String packageName) A convenience method to build status URI specific to a source package by appending |
Inherited methods |
|
---|---|
![]() java.lang.Object
|
String CONFIGURATION_STATE
The configuration state of the voicemail source.
Possible values: CONFIGURATION_STATE_OK
, CONFIGURATION_STATE_NOT_CONFIGURED
, CONFIGURATION_STATE_CAN_BE_CONFIGURED
Type: INTEGER
Constant Value: "configuration_state"
int CONFIGURATION_STATE_CAN_BE_CONFIGURED
Value of CONFIGURATION_STATE
to indicate the visual voicemail is not yet configured on this device but can be configured by the user.
This state must be used when the source has verified that the current user can be upgraded to visual voicemail and would like to show a set up invitation message.
Constant Value: 2 (0x00000002)
int CONFIGURATION_STATE_NOT_CONFIGURED
Value of CONFIGURATION_STATE
to indicate the visual voicemail is not yet configured on this device.
Constant Value: 1 (0x00000001)
int CONFIGURATION_STATE_OK
Value of CONFIGURATION_STATE
to indicate an all OK configuration status.
Constant Value: 0 (0x00000000)
String DATA_CHANNEL_STATE
The data channel state of the voicemail source. This the channel through which the source pulls voicemail data from a remote server.
Possible values: DATA_CHANNEL_STATE_OK
, DATA_CHANNEL_STATE_NO_CONNECTION
Type: INTEGER
Constant Value: "data_channel_state"
int DATA_CHANNEL_STATE_BAD_CONFIGURATION
Value of DATA_CHANNEL_STATE
to indicate that data channel received incorrect settings or credentials to connect to the server
Constant Value: 3 (0x00000003)
int DATA_CHANNEL_STATE_COMMUNICATION_ERROR
Value of DATA_CHANNEL_STATE
to indicate that a error has occurred in the data channel while communicating with the server
Constant Value: 4 (0x00000004)
int DATA_CHANNEL_STATE_NO_CONNECTION
Value of DATA_CHANNEL_STATE
to indicate that data channel failed to find a suitable network to connect to the server.
Constant Value: 1 (0x00000001)
int DATA_CHANNEL_STATE_NO_CONNECTION_CELLULAR_REQUIRED
Value of DATA_CHANNEL_STATE
to indicate that data channel failed to find a suitable network to connect to the server, and the carrier requires using cellular data network to connect to the server.
Constant Value: 2 (0x00000002)
int DATA_CHANNEL_STATE_OK
Value of DATA_CHANNEL_STATE
to indicate that data channel is working fine.
Constant Value: 0 (0x00000000)
int DATA_CHANNEL_STATE_SERVER_CONNECTION_ERROR
Value of DATA_CHANNEL_STATE
to indicate that while there is a suitable network, the data channel is unable to establish a connection with the server.
Constant Value: 6 (0x00000006)
int DATA_CHANNEL_STATE_SERVER_ERROR
Value of DATA_CHANNEL_STATE
to indicate that the server reported an internal error to the data channel.
Constant Value: 5 (0x00000005)
String DIR_TYPE
The MIME type for a collection of voicemail source statuses.
Constant Value: "vnd.android.cursor.dir/voicemail.source.status"
String ITEM_TYPE
The MIME type for a single voicemail source status entry.
Constant Value: "vnd.android.cursor.item/voicemail.source.status"
String NOTIFICATION_CHANNEL_STATE
The notification channel state of the voicemail source. This is the channel through which the source gets notified of new voicemails on the remote server.
Possible values: NOTIFICATION_CHANNEL_STATE_OK
, NOTIFICATION_CHANNEL_STATE_NO_CONNECTION
, NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING
Type: INTEGER
Constant Value: "notification_channel_state"
int NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING
Value of NOTIFICATION_CHANNEL_STATE
to indicate that there are messages waiting on the server but the details are not known.
Use this state when the notification can only tell that there are pending messages on the server but no details of the sender/time etc are known.
Constant Value: 2 (0x00000002)
int NOTIFICATION_CHANNEL_STATE_NO_CONNECTION
Value of NOTIFICATION_CHANNEL_STATE
to indicate that the notification channel connection is not working.
Constant Value: 1 (0x00000001)
int NOTIFICATION_CHANNEL_STATE_OK
Value of NOTIFICATION_CHANNEL_STATE
to indicate that the notification channel is working fine.
Constant Value: 0 (0x00000000)
String PHONE_ACCOUNT_COMPONENT_NAME
The ComponentName
of the PhoneAccount
in string form. The PhoneAccount
differentiates voicemail sources from the same package.
Type: TEXT
Constant Value: "phone_account_component_name"
String PHONE_ACCOUNT_ID
The identifier of a PhoneAccount
that is unique to a specified component. The PhoneAccount
differentiates voicemail sources from the same package.
Type: TEXT
Constant Value: "phone_account_id"
String QUOTA_OCCUPIED
Amount of resource that is used by existing voicemail in the visual voicemail inbox, or QUOTA_UNAVAILABLE
if the quota has never been updated before. This value is used to inform the client the situation on the remote server. Unit is not specified.
Type: INTEGER
Constant Value: "quota_occupied"
String QUOTA_TOTAL
Total resource in the visual voicemail inbox that can be used, or QUOTA_UNAVAILABLE
if server either has unlimited quota or does not provide quota information. This value is used to inform the client the situation on the remote server. Unit is not specified.
Type: INTEGER
Constant Value: "quota_total"
int QUOTA_UNAVAILABLE
Value for QUOTA_OCCUPIED
and QUOTA_TOTAL
to indicate that no information is available.
Constant Value: -1 (0xffffffff)
String SETTINGS_URI
The URI to call to invoke source specific voicemail settings screen. On a user request to setup voicemail an intent with action VIEW with this URI will be fired by the system.
Type: TEXT
Constant Value: "settings_uri"
String SOURCE_PACKAGE
The package name of the voicemail source. There can only be a one entry per account per source.
Type: TEXT
Constant Value: "source_package"
String VOICEMAIL_ACCESS_URI
The URI to call when the user requests to directly access the voicemail from the remote server. In case of an IVR voicemail system this is typically set to the the voicemail number specified using a tel:/ URI.
Type: TEXT
Constant Value: "voicemail_access_uri"
Uri CONTENT_URI
URI to insert/retrieve status of voicemail source.
Uri buildSourceUri (String packageName)
A convenience method to build status URI specific to a source package by appending PARAM_KEY_SOURCE_PACKAGE
param to the base URI.
Parameters | |
---|---|
packageName |
String
|
Returns | |
---|---|
Uri |