Added in API level 29

CellInfoNr


class CellInfoNr : CellInfo
kotlin.Any
   ↳ android.telephony.CellInfo
   ↳ android.telephony.CellInfoNr

A CellInfo representing an 5G NR cell that provides identity and measurement info.

Summary

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

CellIdentity

CellSignalStrength

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Inherited functions
Properties
static Parcelable.Creator<CellInfoNr!>

Public methods

equals

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

getCellIdentity

Added in API level 29
fun getCellIdentity(): CellIdentity
Return
CellIdentity a CellIdentityNr instance. This value cannot be null.

getCellSignalStrength

Added in API level 29
fun getCellSignalStrength(): CellSignalStrength
Return
CellSignalStrength a CellSignalStrengthNr instance. This value cannot be null.

hashCode

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

toString

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

writeToParcel

Added in API level 29
fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit
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 29
static val CREATOR: Parcelable.Creator<CellInfoNr!>