| java.lang.Object | |
| ↳ | android.telephony.SubscriptionInfo |
A Parcelable class for Subscription Information.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CREATOR | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates and returns an icon
Bitmap to represent this SubscriptionInfo in a user
interface.
| |||||||||||
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
A highlight color to use in displaying information about this
PhoneAccount.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
Flatten this object in to a Parcel.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
|
| |||||||||||
Creates and returns an icon Bitmap to represent this SubscriptionInfo in a user
interface.
| Parameters | |
|---|---|
context |
Context:
A Context to get the DisplayMetricss from. |
| Returns | |
|---|---|
Bitmap |
A bitmap icon for this SubscriptionInfo.
|
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
| Returns | |
|---|---|
int |
a bitmask indicating the set of special object types marshalled by the Parcelable. |
| Returns | |
|---|---|
CharSequence |
the name displayed to the user that identifies Subscription provider name |
| Returns | |
|---|---|
int |
the data roaming state for this subscription, either
DATA_ROAMING_ENABLE or DATA_ROAMING_DISABLE.
|
| Returns | |
|---|---|
CharSequence |
the name displayed to the user that identifies this subscription |
A highlight color to use in displaying information about this PhoneAccount.
| Returns | |
|---|---|
int |
A hexadecimal color value. |
| Returns | |
|---|---|
int |
the slot index of this Subscription's SIM card. |
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.
| Returns | |
|---|---|
String |
a printable representation of this object. |
Flatten this object in to a Parcel.
| Parameters | |
|---|---|
dest |
Parcel:
The Parcel in which the object should be written. |
flags |
int:
Additional flags about how the object should be written.
May be 0 or PARCELABLE_WRITE_RETURN_VALUE.
|