public static final class VoicemailContract.Status extends Object implements BaseColumns
Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATION_STATE
The configuration state of the voicemail source.
|
static 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. |
static int |
CONFIGURATION_STATE_CONFIGURING
Value of
CONFIGURATION_STATE to indicate that visual voicemail still is being
configured. |
static int |
CONFIGURATION_STATE_DISABLED
Value of
CONFIGURATION_STATE to indicate that visual voicemail is disabled by
the user. |
static int |
CONFIGURATION_STATE_FAILED
Value of
CONFIGURATION_STATE to indicate that visual voicemail has failed to
be configured. |
static int |
CONFIGURATION_STATE_NOT_CONFIGURED
Value of
CONFIGURATION_STATE to indicate the visual voicemail is not
yet configured on this device. |
static int |
CONFIGURATION_STATE_OK
Value of
CONFIGURATION_STATE to indicate an all OK configuration status. |
static Uri |
CONTENT_URI
URI to insert/retrieve status of voicemail source.
|
static String |
DATA_CHANNEL_STATE
The data channel state of the voicemail source.
|
static 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 |
static 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 |
static 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. |
static 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. |
static int |
DATA_CHANNEL_STATE_OK
Value of
DATA_CHANNEL_STATE to indicate that data channel is working fine. |
static 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. |
static int |
DATA_CHANNEL_STATE_SERVER_ERROR
Value of
DATA_CHANNEL_STATE to indicate that the server reported an internal
error to the data channel. |
static String |
DIR_TYPE
The MIME type for a collection of voicemail source statuses.
|
static String |
ITEM_TYPE
The MIME type for a single voicemail source status entry.
|
static String |
NOTIFICATION_CHANNEL_STATE
The notification channel state of the voicemail source.
|
static 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. |
static int |
NOTIFICATION_CHANNEL_STATE_NO_CONNECTION
Value of
NOTIFICATION_CHANNEL_STATE to indicate that the notification channel
connection is not working. |
static int |
NOTIFICATION_CHANNEL_STATE_OK
Value of
NOTIFICATION_CHANNEL_STATE to indicate that the notification channel is
working fine. |
static String |
PHONE_ACCOUNT_COMPONENT_NAME
The
ComponentName of the PhoneAccount in string form. |
static String |
PHONE_ACCOUNT_ID
The identifier of a
PhoneAccount that is unique to a specified component. |
static 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. |
static 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. |
static int |
QUOTA_UNAVAILABLE
Value for
QUOTA_OCCUPIED and QUOTA_TOTAL to indicate that no
information is available. |
static String |
SETTINGS_URI
The URI to call to invoke source specific voicemail settings screen.
|
static String |
SOURCE_PACKAGE
The package name of the voicemail source.
|
static String |
SOURCE_TYPE
The type of the source, which determines how to interpret source-specific states.
|
static String |
VOICEMAIL_ACCESS_URI
The URI to call when the user requests to directly access the voicemail from the remote
server.
|
_COUNT, _ID
Modifier and Type | Method and Description |
---|---|
static Uri |
buildSourceUri(String packageName)
A convenience method to build status 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 SOURCE_PACKAGE
Type: TEXT
public static final String SOURCE_TYPE
CarrierConfigManager.KEY_VVM_TYPE_STRING
. For example,
"vvm_type_omtp".
Type: TEXT
public static final String PHONE_ACCOUNT_COMPONENT_NAME
ComponentName
of the PhoneAccount
in string form. The
PhoneAccount
differentiates voicemail sources from the same package.
Type: TEXT
public static final String PHONE_ACCOUNT_ID
PhoneAccount
that is unique to a specified component. The
PhoneAccount
differentiates voicemail sources from the same package.
Type: TEXT
public static final String SETTINGS_URI
Type: TEXT
public static final String VOICEMAIL_ACCESS_URI
Type: TEXT
public static final String CONFIGURATION_STATE
Negative values are reserved to the source for source-specific states, see
SOURCE_TYPE
Possible values:
CONFIGURATION_STATE_OK
,
CONFIGURATION_STATE_NOT_CONFIGURED
,
CONFIGURATION_STATE_CAN_BE_CONFIGURED
CONFIGURATION_STATE_CONFIGURING
CONFIGURATION_STATE_FAILED
CONFIGURATION_STATE_DISABLED
Type: INTEGER
public static final int CONFIGURATION_STATE_OK
CONFIGURATION_STATE
to indicate an all OK configuration status.public static final int CONFIGURATION_STATE_NOT_CONFIGURED
CONFIGURATION_STATE
to indicate the visual voicemail is not
yet configured on this device.public static final int CONFIGURATION_STATE_CAN_BE_CONFIGURED
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.
public static final int CONFIGURATION_STATE_CONFIGURING
CONFIGURATION_STATE
to indicate that visual voicemail still is being
configured.public static final int CONFIGURATION_STATE_FAILED
CONFIGURATION_STATE
to indicate that visual voicemail has failed to
be configured.public static final int CONFIGURATION_STATE_DISABLED
CONFIGURATION_STATE
to indicate that visual voicemail is disabled by
the user.public static final String DATA_CHANNEL_STATE
Negative values are reserved to the source for source-specific states, see
SOURCE_TYPE
Possible values:
DATA_CHANNEL_STATE_OK
,
DATA_CHANNEL_STATE_NO_CONNECTION
Type: INTEGER
public static final int DATA_CHANNEL_STATE_OK
DATA_CHANNEL_STATE
to indicate that data channel is working fine.public static final int DATA_CHANNEL_STATE_NO_CONNECTION
DATA_CHANNEL_STATE
to indicate that data channel failed to find a
suitable network to connect to the server.public static final int DATA_CHANNEL_STATE_NO_CONNECTION_CELLULAR_REQUIRED
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.public static final int DATA_CHANNEL_STATE_BAD_CONFIGURATION
DATA_CHANNEL_STATE
to indicate that data channel received incorrect
settings or credentials to connect to the serverpublic static final int DATA_CHANNEL_STATE_COMMUNICATION_ERROR
DATA_CHANNEL_STATE
to indicate that a error has occurred in the data
channel while communicating with the serverpublic static final int DATA_CHANNEL_STATE_SERVER_ERROR
DATA_CHANNEL_STATE
to indicate that the server reported an internal
error to the data channel.public static final int DATA_CHANNEL_STATE_SERVER_CONNECTION_ERROR
DATA_CHANNEL_STATE
to indicate that while there is a suitable network,
the data channel is unable to establish a connection with the server.public static final String NOTIFICATION_CHANNEL_STATE
Negative values are reserved to the source for source-specific states, see
SOURCE_TYPE
Possible values:
NOTIFICATION_CHANNEL_STATE_OK
,
NOTIFICATION_CHANNEL_STATE_NO_CONNECTION
,
NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING
Type: INTEGER
public static final int NOTIFICATION_CHANNEL_STATE_OK
NOTIFICATION_CHANNEL_STATE
to indicate that the notification channel is
working fine.public static final int NOTIFICATION_CHANNEL_STATE_NO_CONNECTION
NOTIFICATION_CHANNEL_STATE
to indicate that the notification channel
connection is not working.public static final int NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING
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.
public static final String QUOTA_OCCUPIED
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
public static final String QUOTA_TOTAL
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
public static final int QUOTA_UNAVAILABLE
QUOTA_OCCUPIED
and QUOTA_TOTAL
to indicate that no
information is available.public static Uri buildSourceUri(String packageName)
VoicemailContract.PARAM_KEY_SOURCE_PACKAGE
param to the base URI.