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_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_NO_CONNECTION
Value of
DATA_CHANNEL_STATE to indicate that data channel connection is not
working. |
static int |
DATA_CHANNEL_STATE_OK
Value of
DATA_CHANNEL_STATE to indicate that data channel is working fine. |
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 |
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 |
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 SETTINGS_URI
Type: TEXT
public static final String VOICEMAIL_ACCESS_URI
Type: TEXT
public static final String CONFIGURATION_STATE
Possible values:
CONFIGURATION_STATE_OK
,
CONFIGURATION_STATE_NOT_CONFIGURED
,
CONFIGURATION_STATE_CAN_BE_CONFIGURED
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 String DATA_CHANNEL_STATE
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 connection is not
working.public static final String NOTIFICATION_CHANNEL_STATE
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 Uri buildSourceUri(String packageName)
VoicemailContract.PARAM_KEY_SOURCE_PACKAGE
param to the base URI.