java.lang.Object | |
↳ | android.telecom.GatewayInfo |
Encapsulated gateway address information for outgoing call. When calls are made, the system
provides a facility to specify two addresses for the call: one to display as the address being
dialed and a separate (gateway) address to actually dial. Telecom provides this information to
ConnectionService
s when placing the call as an instance of GatewayInfo
.
The data consists of an address to call, an address to display and the package name of the service. This data is used in two ways:
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | The Parcelable interface. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Returns the gateway address to dial when placing the call.
| |||||||||||
Package name of the gateway provider service that provided the gateway information.
| |||||||||||
Returns the address that the user is trying to connect to via the gateway.
| |||||||||||
Indicates whether this
GatewayInfo instance contains any data.
| |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Returns the gateway address to dial when placing the call.
Package name of the gateway provider service that provided the gateway information. This can be used to identify the gateway address source and to load an appropriate icon when displaying gateway information in the in-call UI.
Returns the address that the user is trying to connect to via the gateway.
Indicates whether this GatewayInfo
instance contains any data. A returned value of
false indicates that no gateway number is being used for the call.
Flatten this object in to a Parcel.
destination | The Parcel in which the object should be written. |
---|---|
flags | Additional flags about how the object should be written.
May be 0 or PARCELABLE_WRITE_RETURN_VALUE .
|