Status
class Status : BaseColumns
kotlin.Any | |
↳ | android.provider.VoicemailContract.Status |
Defines fields exposed through the /status path of this content provider.
Summary
Constants | |
---|---|
static String |
The configuration state of the voicemail source. |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static String |
The data channel state of the voicemail source. |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static String |
The MIME type for a collection of voicemail source statuses. |
static String |
The MIME type for a single voicemail source status entry. |
static String |
The notification channel state of the voicemail source. |
static Int |
Value of |
static Int |
Value of |
static Int |
Value of |
static String |
The |
static String |
The identifier of a |
static String |
Amount of resource that is used by existing voicemail in the visual voicemail inbox, or |
static String |
Total resource in the visual voicemail inbox that can be used, or |
static Int |
Value for |
static String |
The URI to call to invoke source specific voicemail settings screen. |
static String |
The package name of the voicemail source. |
static String |
The type of the source, which determines how to interpret source-specific states. |
static String |
The URI to call when the user requests to directly access the voicemail from the remote server. |
Inherited constants | |
---|---|
Public methods | |
---|---|
static Uri! |
buildSourceUri(packageName: String!) A convenience method to build status URI specific to a source package by appending |
Properties | |
---|---|
static Uri! |
URI to insert/retrieve status of voicemail source. |
Constants
CONFIGURATION_STATE
static val CONFIGURATION_STATE: String
The configuration state of the voicemail source.
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
Value: "configuration_state"
CONFIGURATION_STATE_CAN_BE_CONFIGURED
static val CONFIGURATION_STATE_CAN_BE_CONFIGURED: Int
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.
Value: 2
CONFIGURATION_STATE_CONFIGURING
static val CONFIGURATION_STATE_CONFIGURING: Int
Value of CONFIGURATION_STATE
to indicate that visual voicemail still is being configured.
Value: 3
CONFIGURATION_STATE_DISABLED
static val CONFIGURATION_STATE_DISABLED: Int
Value of CONFIGURATION_STATE
to indicate that visual voicemail is disabled by the user.
Value: 5
CONFIGURATION_STATE_FAILED
static val CONFIGURATION_STATE_FAILED: Int
Value of CONFIGURATION_STATE
to indicate that visual voicemail has failed to be configured.
Value: 4
CONFIGURATION_STATE_NOT_CONFIGURED
static val CONFIGURATION_STATE_NOT_CONFIGURED: Int
Value of CONFIGURATION_STATE
to indicate the visual voicemail is not yet configured on this device.
Value: 1
CONFIGURATION_STATE_OK
static val CONFIGURATION_STATE_OK: Int
Value of CONFIGURATION_STATE
to indicate an all OK configuration status.
Value: 0
DATA_CHANNEL_STATE
static val DATA_CHANNEL_STATE: String
The data channel state of the voicemail source. This the channel through which the source pulls voicemail data from a remote server.
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
Value: "data_channel_state"
DATA_CHANNEL_STATE_BAD_CONFIGURATION
static val DATA_CHANNEL_STATE_BAD_CONFIGURATION: Int
Value of DATA_CHANNEL_STATE
to indicate that data channel received incorrect settings or credentials to connect to the server
Value: 3
DATA_CHANNEL_STATE_COMMUNICATION_ERROR
static val DATA_CHANNEL_STATE_COMMUNICATION_ERROR: Int
Value of DATA_CHANNEL_STATE
to indicate that a error has occurred in the data channel while communicating with the server
Value: 4
DATA_CHANNEL_STATE_NO_CONNECTION
static val DATA_CHANNEL_STATE_NO_CONNECTION: Int
Value of DATA_CHANNEL_STATE
to indicate that data channel failed to find a suitable network to connect to the server.
Value: 1
DATA_CHANNEL_STATE_NO_CONNECTION_CELLULAR_REQUIRED
static val DATA_CHANNEL_STATE_NO_CONNECTION_CELLULAR_REQUIRED: Int
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.
Value: 2
DATA_CHANNEL_STATE_OK
static val DATA_CHANNEL_STATE_OK: Int
Value of DATA_CHANNEL_STATE
to indicate that data channel is working fine.
Value: 0
DATA_CHANNEL_STATE_SERVER_CONNECTION_ERROR
static val DATA_CHANNEL_STATE_SERVER_CONNECTION_ERROR: Int
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.
Value: 6
DATA_CHANNEL_STATE_SERVER_ERROR
static val DATA_CHANNEL_STATE_SERVER_ERROR: Int
Value of DATA_CHANNEL_STATE
to indicate that the server reported an internal error to the data channel.
Value: 5
DIR_TYPE
static val DIR_TYPE: String
The MIME type for a collection of voicemail source statuses.
Value: "vnd.android.cursor.dir/voicemail.source.status"
ITEM_TYPE
static val ITEM_TYPE: String
The MIME type for a single voicemail source status entry.
Value: "vnd.android.cursor.item/voicemail.source.status"
NOTIFICATION_CHANNEL_STATE
static val NOTIFICATION_CHANNEL_STATE: String
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.
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
Value: "notification_channel_state"
NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING
static val NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING: Int
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.
Value: 2
NOTIFICATION_CHANNEL_STATE_NO_CONNECTION
static val NOTIFICATION_CHANNEL_STATE_NO_CONNECTION: Int
Value of NOTIFICATION_CHANNEL_STATE
to indicate that the notification channel connection is not working.
Value: 1
NOTIFICATION_CHANNEL_STATE_OK
static val NOTIFICATION_CHANNEL_STATE_OK: Int
Value of NOTIFICATION_CHANNEL_STATE
to indicate that the notification channel is working fine.
Value: 0
PHONE_ACCOUNT_COMPONENT_NAME
static val PHONE_ACCOUNT_COMPONENT_NAME: String
The ComponentName
of the PhoneAccount
in string form. The PhoneAccount
differentiates voicemail sources from the same package.
Type: TEXT
Value: "phone_account_component_name"
PHONE_ACCOUNT_ID
static val PHONE_ACCOUNT_ID: String
The identifier of a PhoneAccount
that is unique to a specified component. The PhoneAccount
differentiates voicemail sources from the same package.
Type: TEXT
Value: "phone_account_id"
QUOTA_OCCUPIED
static val QUOTA_OCCUPIED: String
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
Value: "quota_occupied"
QUOTA_TOTAL
static val QUOTA_TOTAL: String
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
Value: "quota_total"
QUOTA_UNAVAILABLE
static val QUOTA_UNAVAILABLE: Int
Value for QUOTA_OCCUPIED
and QUOTA_TOTAL
to indicate that no information is available.
Value: -1
SETTINGS_URI
static val SETTINGS_URI: String
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
Value: "settings_uri"
SOURCE_PACKAGE
static val SOURCE_PACKAGE: String
The package name of the voicemail source. There can only be a one entry per account per source.
Type: TEXT
Value: "source_package"
SOURCE_TYPE
static val SOURCE_TYPE: String
The type of the source, which determines how to interpret source-specific states. Typically this will be set to the same string as android.telephony.CarrierConfigManager#KEY_VVM_TYPE_STRING
. For example, "vvm_type_omtp".
Type: TEXT
Value: "source_type"
VOICEMAIL_ACCESS_URI
static val VOICEMAIL_ACCESS_URI: String
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
Value: "voicemail_access_uri"
Public methods
buildSourceUri
static fun buildSourceUri(packageName: String!): Uri!
A convenience method to build status URI specific to a source package by appending VoicemailContract#PARAM_KEY_SOURCE_PACKAGE
param to the base URI.
Properties
CONTENT_URI
static val CONTENT_URI: Uri!
URI to insert/retrieve status of voicemail source.