Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/VoicemailContract.Status#constants) \| [Inherited Constants](https://developer.android.com/reference/android/provider/VoicemailContract.Status#inhconstants) \| [Fields](https://developer.android.com/reference/android/provider/VoicemailContract.Status#lfields) \| [Methods](https://developer.android.com/reference/android/provider/VoicemailContract.Status#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/provider/VoicemailContract.Status#inhmethods)

# VoicemailContract.Status

*** ** * ** ***


`
public
static
final

class
VoicemailContract.Status
`


`

extends https://developer.android.com/reference/java/lang/Object


`

`


implements

https://developer.android.com/reference/android/provider/BaseColumns


`

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.provider.VoicemailContract.Status |

<br />

*** ** * ** ***

Defines fields exposed through the /status path of this content provider.

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` The configuration state of the voicemail source. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_CAN_BE_CONFIGURED` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate the visual voicemail is not yet configured on this device but can be configured by the user. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_CONFIGURING` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate that visual voicemail still is being configured. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_DISABLED` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate that visual voicemail is disabled by the user. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_FAILED` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate that visual voicemail has failed to be configured. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_NOT_CONFIGURED` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate the visual voicemail is not yet configured on this device. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_OK` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate an all OK configuration status. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` The data channel state of the voicemail source. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE_BAD_CONFIGURATION` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that data channel received incorrect settings or credentials to connect to the server |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE_COMMUNICATION_ERROR` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that a error has occurred in the data channel while communicating with the server |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE_NO_CONNECTION` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that data channel failed to find a suitable network to connect to the server. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE_NO_CONNECTION_CELLULAR_REQUIRED` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#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. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE_OK` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that data channel is working fine. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE_SERVER_CONNECTION_ERROR` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that while there is a suitable network, the data channel is unable to establish a connection with the server. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE_SERVER_ERROR` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that the server reported an internal error to the data channel. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DIR_TYPE` The MIME type for a collection of voicemail source statuses. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#ITEM_TYPE` The MIME type for a single voicemail source status entry. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE` The notification channel state of the voicemail source. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE` to indicate that there are messages waiting on the server but the details are not known. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE_NO_CONNECTION` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE` to indicate that the notification channel connection is not working. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE_OK` Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE` to indicate that the notification channel is working fine. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#PHONE_ACCOUNT_COMPONENT_NAME` The `https://developer.android.com/reference/android/content/ComponentName` of the `https://developer.android.com/reference/android/telecom/PhoneAccount` in string form. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#PHONE_ACCOUNT_ID` The identifier of a `https://developer.android.com/reference/android/telecom/PhoneAccount` that is unique to a specified component. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#QUOTA_OCCUPIED` Amount of resource that is used by existing voicemail in the visual voicemail inbox, or `https://developer.android.com/reference/android/provider/VoicemailContract.Status#QUOTA_UNAVAILABLE` if the quota has never been updated before. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#QUOTA_TOTAL` Total resource in the visual voicemail inbox that can be used, or `https://developer.android.com/reference/android/provider/VoicemailContract.Status#QUOTA_UNAVAILABLE` if server either has unlimited quota or does not provide quota information. |
| `int` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#QUOTA_UNAVAILABLE` Value for `https://developer.android.com/reference/android/provider/VoicemailContract.Status#QUOTA_OCCUPIED` and `https://developer.android.com/reference/android/provider/VoicemailContract.Status#QUOTA_TOTAL` to indicate that no information is available. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#SETTINGS_URI` The URI to call to invoke source specific voicemail settings screen. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#SOURCE_PACKAGE` The package name of the voicemail source. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#SOURCE_TYPE` The type of the source, which determines how to interpret source-specific states. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#VOICEMAIL_ACCESS_URI` The URI to call when the user requests to directly access the voicemail from the remote server. |

| ### Inherited constants |
|---|
| From interface `https://developer.android.com/reference/android/provider/BaseColumns` |---|---| | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/BaseColumns#_COUNT` The count of rows in a directory. | | `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/BaseColumns#_ID` The unique ID for a row. | |

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/net/Uri` | `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONTENT_URI` URI to insert/retrieve status of voicemail source. |

| ### Public methods ||
|---|---|
| ` static https://developer.android.com/reference/android/net/Uri` | ` https://developer.android.com/reference/android/provider/VoicemailContract.Status#buildSourceUri(java.lang.String)(https://developer.android.com/reference/java/lang/String packageName) ` A convenience method to build status URI specific to a source package by appending `https://developer.android.com/reference/android/provider/VoicemailContract#PARAM_KEY_SOURCE_PACKAGE` param to the base URI. |

| ### Inherited methods |
|---|---|
| From class ` https://developer.android.com/reference/java/lang/Object ` |---|---| | ` https://developer.android.com/reference/java/lang/Object` | ` https://developer.android.com/reference/java/lang/Object#clone()() ` Creates and returns a copy of this object. | | ` boolean` | ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) ` Indicates whether some other object is "equal to" this one. | | ` void` | ` https://developer.android.com/reference/java/lang/Object#finalize()() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. | | ` final https://developer.android.com/reference/java/lang/Class<?>` | ` https://developer.android.com/reference/java/lang/Object#getClass()() ` Returns the runtime class of this `Object`. | | ` int` | ` https://developer.android.com/reference/java/lang/Object#hashCode()() ` Returns a hash code value for the object. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#notify()() ` Wakes up a single thread that is waiting on this object's monitor. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#notifyAll()() ` Wakes up all threads that are waiting on this object's monitor. | | ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/java/lang/Object#toString()() ` Returns a string representation of the object. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed. | | ` final void` | ` https://developer.android.com/reference/java/lang/Object#wait()() ` Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*. | ||

## Constants

### CONFIGURATION_STATE

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CONFIGURATION_STATE
```

The configuration state of the voicemail source.

Negative values are reserved to the source for source-specific states, see
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#SOURCE_TYPE`

Possible values:
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_OK`,
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_NOT_CONFIGURED`,
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_CAN_BE_CONFIGURED`
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_CONFIGURING`
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_FAILED`
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE_DISABLED`

Type: INTEGER

<br />

<br />

Constant Value:

"configuration_state"


### CONFIGURATION_STATE_CAN_BE_CONFIGURED

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CONFIGURATION_STATE_CAN_BE_CONFIGURED
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#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.

<br />

Constant Value:

2
(0x00000002)


### CONFIGURATION_STATE_CONFIGURING

Added in [API level 25](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CONFIGURATION_STATE_CONFIGURING
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate that visual voicemail still is being
configured.

<br />

Constant Value:

3
(0x00000003)


### CONFIGURATION_STATE_DISABLED

Added in [API level 25](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CONFIGURATION_STATE_DISABLED
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate that visual voicemail is disabled by
the user.

<br />

Constant Value:

5
(0x00000005)


### CONFIGURATION_STATE_FAILED

Added in [API level 25](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CONFIGURATION_STATE_FAILED
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate that visual voicemail has failed to
be configured.

<br />

Constant Value:

4
(0x00000004)


### CONFIGURATION_STATE_NOT_CONFIGURED

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CONFIGURATION_STATE_NOT_CONFIGURED
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate the visual voicemail is not
yet configured on this device.

<br />

Constant Value:

1
(0x00000001)


### CONFIGURATION_STATE_OK

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int CONFIGURATION_STATE_OK
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE` to indicate an all OK configuration status.

<br />

Constant Value:

0
(0x00000000)


### DATA_CHANNEL_STATE

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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.

Negative values are reserved to the source for source-specific states, see
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#SOURCE_TYPE`

Possible values:
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE_OK`,
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE_NO_CONNECTION`

Type: INTEGER

<br />

<br />

Constant Value:

"data_channel_state"


### DATA_CHANNEL_STATE_BAD_CONFIGURATION

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int DATA_CHANNEL_STATE_BAD_CONFIGURATION
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that data channel received incorrect
settings or credentials to connect to the server

<br />

Constant Value:

3
(0x00000003)


### DATA_CHANNEL_STATE_COMMUNICATION_ERROR

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int DATA_CHANNEL_STATE_COMMUNICATION_ERROR
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that a error has occurred in the data
channel while communicating with the server

<br />

Constant Value:

4
(0x00000004)


### DATA_CHANNEL_STATE_NO_CONNECTION

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int DATA_CHANNEL_STATE_NO_CONNECTION
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that data channel failed to find a
suitable network to connect to the server.

<br />

Constant Value:

1
(0x00000001)


### DATA_CHANNEL_STATE_NO_CONNECTION_CELLULAR_REQUIRED

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int DATA_CHANNEL_STATE_NO_CONNECTION_CELLULAR_REQUIRED
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#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.

<br />

Constant Value:

2
(0x00000002)


### DATA_CHANNEL_STATE_OK

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int DATA_CHANNEL_STATE_OK
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that data channel is working fine.

<br />

Constant Value:

0
(0x00000000)


### DATA_CHANNEL_STATE_SERVER_CONNECTION_ERROR

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int DATA_CHANNEL_STATE_SERVER_CONNECTION_ERROR
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that while there is a suitable network,
the data channel is unable to establish a connection with the server.

<br />

Constant Value:

6
(0x00000006)


### DATA_CHANNEL_STATE_SERVER_ERROR

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int DATA_CHANNEL_STATE_SERVER_ERROR
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE` to indicate that the server reported an internal
error to the data channel.

<br />

Constant Value:

5
(0x00000005)


### DIR_TYPE

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String DIR_TYPE
```

The MIME type for a collection of voicemail source statuses.

<br />

Constant Value:

"vnd.android.cursor.dir/voicemail.source.status"


### ITEM_TYPE

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String ITEM_TYPE
```

The MIME type for a single voicemail source status entry.

<br />

Constant Value:

"vnd.android.cursor.item/voicemail.source.status"


### NOTIFICATION_CHANNEL_STATE

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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.

Negative values are reserved to the source for source-specific states, see
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#SOURCE_TYPE`

Possible values:
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE_OK`,
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE_NO_CONNECTION`,
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING`

Type: INTEGER

<br />

<br />

Constant Value:

"notification_channel_state"


### NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#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.

<br />

Constant Value:

2
(0x00000002)


### NOTIFICATION_CHANNEL_STATE_NO_CONNECTION

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int NOTIFICATION_CHANNEL_STATE_NO_CONNECTION
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE` to indicate that the notification channel
connection is not working.

<br />

Constant Value:

1
(0x00000001)


### NOTIFICATION_CHANNEL_STATE_OK

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int NOTIFICATION_CHANNEL_STATE_OK
```

Value of `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE` to indicate that the notification channel is
working fine.

<br />

Constant Value:

0
(0x00000000)


### PHONE_ACCOUNT_COMPONENT_NAME

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String PHONE_ACCOUNT_COMPONENT_NAME
```

The `https://developer.android.com/reference/android/content/ComponentName` of the `https://developer.android.com/reference/android/telecom/PhoneAccount` in string form. The
`https://developer.android.com/reference/android/telecom/PhoneAccount` differentiates voicemail sources from the same package.

Type: TEXT

<br />

<br />

Constant Value:

"phone_account_component_name"


### PHONE_ACCOUNT_ID

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String PHONE_ACCOUNT_ID
```

The identifier of a `https://developer.android.com/reference/android/telecom/PhoneAccount` that is unique to a specified component. The
`https://developer.android.com/reference/android/telecom/PhoneAccount` differentiates voicemail sources from the same package.

Type: TEXT

<br />

<br />

Constant Value:

"phone_account_id"


### QUOTA_OCCUPIED

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String QUOTA_OCCUPIED
```

Amount of resource that is used by existing voicemail in the visual voicemail inbox,
or `https://developer.android.com/reference/android/provider/VoicemailContract.Status#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

<br />

<br />

Constant Value:

"quota_occupied"


### QUOTA_TOTAL

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String QUOTA_TOTAL
```

Total resource in the visual voicemail inbox that can be used, or
`https://developer.android.com/reference/android/provider/VoicemailContract.Status#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

<br />

<br />

Constant Value:

"quota_total"


### QUOTA_UNAVAILABLE

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int QUOTA_UNAVAILABLE
```

Value for `https://developer.android.com/reference/android/provider/VoicemailContract.Status#QUOTA_OCCUPIED` and `https://developer.android.com/reference/android/provider/VoicemailContract.Status#QUOTA_TOTAL` to indicate that no
information is available.

<br />

Constant Value:

-1
(0xffffffff)


### SETTINGS_URI

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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

<br />

<br />

Constant Value:

"settings_uri"


### SOURCE_PACKAGE

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SOURCE_PACKAGE
```

The package name of the voicemail source. There can only be a one entry per account
per source.

Type: TEXT

<br />

<br />

Constant Value:

"source_package"


### SOURCE_TYPE

Added in [API level 25](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String SOURCE_TYPE
```

The type of the source, which determines how to interpret source-specific states.
Typically this will be set to the same string as
`https://developer.android.com/reference/android/telephony/CarrierConfigManager#KEY_VVM_TYPE_STRING`. For example,
"vvm_type_omtp".

Type: TEXT

<br />

<br />

**See also:**

- `https://developer.android.com/reference/android/provider/VoicemailContract.Status#CONFIGURATION_STATE`
- `https://developer.android.com/reference/android/provider/VoicemailContract.Status#DATA_CHANNEL_STATE`
- `https://developer.android.com/reference/android/provider/VoicemailContract.Status#NOTIFICATION_CHANNEL_STATE`

Constant Value:

"source_type"


### VOICEMAIL_ACCESS_URI

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final 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

<br />

<br />

Constant Value:

"voicemail_access_uri"


## Fields

### CONTENT_URI

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Uri CONTENT_URI
```

URI to insert/retrieve status of voicemail source.

<br />

## Public methods

### buildSourceUri

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static Uri buildSourceUri (String packageName)
```

A convenience method to build status URI specific to a source package by appending
`https://developer.android.com/reference/android/provider/VoicemailContract#PARAM_KEY_SOURCE_PACKAGE` param to the base URI.

<br />

| Parameters ||
|---|---|
| `packageName` | `String` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/net/Uri` | <br /> |