Added in API level 17
CellIdentityLte
class CellIdentityLte : CellIdentity
| kotlin.Any | ||
| ↳ | android.telephony.CellIdentity | |
| ↳ | android.telephony.CellIdentityLte | |
CellIdentity is to represent a unique LTE cell
Summary
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Boolean | |
| MutableSet<String!> | |
| IntArray |
getBands()Get bands of the cell Reference: 3GPP TS 36. |
| Int | |
| Int |
getCi() |
| ClosedSubscriberGroupInfo? | |
| Int | |
| Int |
getMcc() |
| String? | |
| Int |
getMnc() |
| String? | |
| String? | |
| Int |
getPci() |
| Int |
getTac() |
| Int |
hashCode() |
| String |
toString() |
| Unit |
writeToParcel(dest: Parcel, flags: Int)Implement the Parcelable interface |
| Inherited functions | |
|---|---|
| Properties | |
|---|---|
| static Parcelable.Creator<CellIdentityLte!> |
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. |
getAdditionalPlmns
Added in API level 30
fun getAdditionalPlmns(): MutableSet<String!>
| Return | |
|---|---|
MutableSet<String!> |
a list of additional PLMN IDs supported by this cell. This value cannot be null. |
getBands
Added in API level 30
fun getBands(): IntArray
Get bands of the cell Reference: 3GPP TS 36.101 section 5.5
| Return | |
|---|---|
IntArray |
Array of band number or empty array if not available. This value cannot be null. |
getBandwidth
Added in API level 28
fun getBandwidth(): Int
| Return | |
|---|---|
Int |
Cell bandwidth in kHz, UNAVAILABLE if unavailable. |
getCi
Added in API level 17
fun getCi(): Int
| Return | |
|---|---|
Int |
28-bit Cell Identity, UNAVAILABLE if unavailable. |
getClosedSubscriberGroupInfo
Added in API level 30
fun getClosedSubscriberGroupInfo(): ClosedSubscriberGroupInfo?
| Return | |
|---|---|
ClosedSubscriberGroupInfo? |
closed subscriber group information about the cell if available, otherwise null. |
getEarfcn
Added in API level 24
fun getEarfcn(): Int
| Return | |
|---|---|
Int |
18-bit Absolute RF Channel Number, UNAVAILABLE if unavailable. |
getMcc
fungetMcc(): Int
Deprecated: Use getMccString instead.
| Return | |
|---|---|
Int |
3-digit Mobile Country Code, 0..999, UNAVAILABLE if unavailable. |
getMccString
Added in API level 28
fun getMccString(): String?
| Return | |
|---|---|
String? |
Mobile Country Code in string format, null if unavailable. |
getMnc
fungetMnc(): Int
Deprecated: Use getMncString instead.
| Return | |
|---|---|
Int |
2 or 3-digit Mobile Network Code, 0..999, UNAVAILABLE if unavailable. |
getMncString
Added in API level 28
fun getMncString(): String?
| Return | |
|---|---|
String? |
Mobile Network Code in string format, null if unavailable. |
getMobileNetworkOperator
Added in API level 28
fun getMobileNetworkOperator(): String?
| Return | |
|---|---|
String? |
a 5 or 6 character string (MCC+MNC), null if any field is unknown. |
getPci
Added in API level 17
fun getPci(): Int
| Return | |
|---|---|
Int |
Physical Cell Id 0..503, UNAVAILABLE if unavailable. |
getTac
Added in API level 17
fun getTac(): Int
| Return | |
|---|---|
Int |
16-bit Tracking Area Code, 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<CellIdentityLte!>
Implement the Parcelable interface