Added in API level 28

CellIdentityTdscdma


class CellIdentityTdscdma : CellIdentity

CellIdentity is to represent a unique TD-SCDMA cell

Summary

Inherited constants
Int CONTENTS_FILE_DESCRIPTOR

Descriptor bit used with describeContents(): indicates that the Parcelable object's flattened representation includes a file descriptor.

Int PARCELABLE_WRITE_RETURN_VALUE

Flag for use with writeToParcel: the object being written is a return value, that is the result of a function such as "Parcelable someFunction()", "void someFunction(out Parcelable)", or "void someFunction(inout Parcelable)". Some implementations may want to release resources at this point.

Public methods
Int

Implement the Parcelable interface

Boolean
equals(other: Any?)

MutableSet<String!>

Int

ClosedSubscriberGroupInfo?

Int

Int

String?

Get Mobile Country Code in string format

String?

Get Mobile Network Code in string format

String?

Int

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Implement the Parcelable interface

Properties
static Parcelable.Creator<CellIdentityTdscdma!>

Implement the Parcelable interface

Public methods

describeContents

Added in API level 28
fun describeContents(): Int

Implement the Parcelable interface

Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

equals

Added in API level 28
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 28
fun getCid(): Int
Return
Int 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.

getCpid

Added in API level 28
fun getCpid(): Int
Return
Int 8-bit Cell Parameters ID described in TS 25.331, 0..127, UNAVAILABLE if unavailable.

getLac

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

getMccString

Added in API level 28
fun getMccString(): String?

Get Mobile Country Code in string format

Return
String? Mobile Country Code in string format, null if unknown

getMncString

Added in API level 28
fun getMncString(): String?

Get Mobile Network Code in string format

Return
String? Mobile Network Code in string format, null if unknown

getMobileNetworkOperator

Added in API level 29
fun getMobileNetworkOperator(): String?
Return
String? a 5 or 6 character string (MCC+MNC), null if any field is unknown

getUarfcn

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

hashCode

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

toString

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

writeToParcel

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

Implement the Parcelable interface