Added in API level 18

CellIdentityWcdma

class CellIdentityWcdma : CellIdentity
kotlin.Any
   ↳ android.telephony.CellIdentity
   ↳ android.telephony.CellIdentityWcdma

CellIdentity to represent a unique UMTS cell

Summary

Inherited constants
Public methods
Boolean
equals(other: Any?)

MutableSet<String!>

Int

ClosedSubscriberGroupInfo?

Int

Int

String?

Int

String?

String?

Int

Int

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Implement the Parcelable interface

Inherited functions
Properties
static Parcelable.Creator<CellIdentityWcdma!>

Implement the Parcelable interface

Public methods

equals

Added in API level 18
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.

getCid

Added in API level 18
fun getCid(): Int
Return
Int CID 28-bit UMTS Cell Identity described in TS 25.331, 0..268435455, 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.

getLac

Added in API level 18
fun getLac(): Int
Return
Int 16-bit Location Area Code, 0..65535, UNAVAILABLE if unavailable.

getMcc

Added in API level 18
Deprecated in API level 28
fun getMcc(): 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 version, null if unavailable.

getMnc

Added in API level 18
Deprecated in API level 28
fun getMnc(): 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 version, 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

getPsc

Added in API level 18
fun getPsc(): Int
Return
Int 9-bit UMTS Primary Scrambling Code described in TS 25.331, 0..511, UNAVAILABLE if unavailable.

getUarfcn

Added in API level 24
fun getUarfcn(): Int
Return
Int 16-bit UMTS Absolute RF Channel Number, UNAVAILABLE if unavailable.

hashCode

Added in API level 18
fun hashCode(): Int
Return
Int a hash code value for this object.

toString

Added in API level 18
fun toString(): String
Return
String a string representation of the object.

writeToParcel

Added in API level 18
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 18
static val CREATOR: Parcelable.Creator<CellIdentityWcdma!>

Implement the Parcelable interface