Added in API level 17
CellIdentityCdma
class CellIdentityCdma : CellIdentity
kotlin.Any | ||
↳ | android.telephony.CellIdentity | |
↳ | android.telephony.CellIdentityCdma |
CellIdentity is to represent a unique CDMA cell
Summary
Inherited constants | |
---|---|
Public methods | |
---|---|
Boolean | |
Int | |
Int | |
Int | |
Int | |
Int | |
Int |
hashCode() |
String |
toString() |
Unit |
writeToParcel(dest: Parcel, flags: Int) Implement the Parcelable interface |
Inherited functions | |
---|---|
Properties | |
---|---|
static Parcelable.Creator<CellIdentityCdma!> |
Implement the Parcelable interface |
Public methods
equals
Added in API level 17
fun equals(other: Any?): Boolean
Parameters | |
---|---|
obj |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true if this object is the same as the obj argument; false otherwise. |
getBasestationId
Added in API level 17
fun getBasestationId(): Int
Return | |
---|---|
Int |
Base Station Id 0..65535, UNAVAILABLE if unavailable. |
getLatitude
Added in API level 17
fun getLatitude(): Int
Return | |
---|---|
Int |
Base station latitude, which is a decimal number as specified in 3GPP2 C.S0005-A v6.0. It is represented in units of 0.25 seconds and ranges from -1296000 to 1296000, both values inclusive (corresponding to a range of -90 to +90 degrees). UNAVAILABLE if unavailable. |
getLongitude
Added in API level 17
fun getLongitude(): Int
Return | |
---|---|
Int |
Base station longitude, which is a decimal number as specified in 3GPP2 C.S0005-A v6.0. It is represented in units of 0.25 seconds and ranges from -2592000 to 2592000, both values inclusive (corresponding to a range of -180 to +180 degrees). UNAVAILABLE if unavailable. |
getNetworkId
Added in API level 17
fun getNetworkId(): Int
Return | |
---|---|
Int |
Network Id 0..65535, UNAVAILABLE if unavailable. |
getSystemId
Added in API level 17
fun getSystemId(): Int
Return | |
---|---|
Int |
System Id 0..32767, UNAVAILABLE if unavailable. |
toString
Added in API level 17
fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |
writeToParcel
Added in API level 17
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Implement the Parcelable interface
Parameters | |
---|---|
dest |
Parcel: The Parcel in which the object should be written. This value cannot be null . |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Properties
CREATOR
Added in API level 17
static val CREATOR: Parcelable.Creator<CellIdentityCdma!>
Implement the Parcelable interface