java.lang.Object | |
↳ | android.telecom.PhoneAccount.Builder |
Helper class for creating a PhoneAccount
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a builder with the specified
PhoneAccountHandle and label.
| |||||||||||
Creates an instance of the
PhoneAccount.Builder from an existing
PhoneAccount .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Specifies an additional URI scheme supported by the
PhoneAccount .
| |||||||||||
Creates an instance of a
PhoneAccount based on the current builder settings.
| |||||||||||
Sets the address.
| |||||||||||
Sets the capabilities.
| |||||||||||
Sets the highlight color.
| |||||||||||
Sets the icon.
| |||||||||||
Sets the short description.
| |||||||||||
Sets the subscription address.
| |||||||||||
Specifies the URI schemes supported by the
PhoneAccount .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Creates a builder with the specified PhoneAccountHandle
and label.
Creates an instance of the PhoneAccount.Builder
from an existing
PhoneAccount
.
phoneAccount | The PhoneAccount used to initialize the builder.
|
---|
Specifies an additional URI scheme supported by the PhoneAccount
.
uriScheme | The URI scheme. |
---|
Creates an instance of a PhoneAccount
based on the current builder settings.
PhoneAccount
.
Sets the address. See getAddress()
.
value | The address of the phone account. |
---|
Sets the capabilities. See getCapabilities()
.
value | The capabilities to set. |
---|
Sets the highlight color. See getHighlightColor()
.
value | The highlight color. |
---|
Sets the icon. See getIcon()
.
icon | The icon to set. |
---|
Sets the short description. See getShortDescription()
.
value | The short description. |
---|
Sets the subscription address. See getSubscriptionAddress()
.
value | The subscription address. |
---|
Specifies the URI schemes supported by the PhoneAccount
.
uriSchemes | The URI schemes. |
---|