Added in API level 18

CellSignalStrengthWcdma


class CellSignalStrengthWcdma : CellSignalStrength, Parcelable
kotlin.Any
   ↳ android.telephony.CellSignalStrength
   ↳ android.telephony.CellSignalStrengthWcdma

Wcdma signal strength related information.

Summary

Inherited constants
Public methods
Int

Implement the Parcelable interface

Boolean
equals(other: Any?)

Int

Get the RSCP in ASU.

Int

Get the RSCP as dBm value -120.

Int

Get the Ec/No (Energy per chip over the noise spectral density) as dB.

Int

Retrieve an abstract level value for the overall signal quality.

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Implement the Parcelable interface

Properties
static Parcelable.Creator<CellSignalStrengthWcdma!>

Implement the Parcelable interface

Public methods

describeContents

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

getAsuLevel

Added in API level 18
fun getAsuLevel(): Int

Get the RSCP in ASU. Asu is calculated based on 3GPP RSCP. Refer to 3GPP 27.007 (Ver 10.3.0) Sec 8.69

Return
Int RSCP in ASU 0..96, 255, or UNAVAILABLE

getDbm

Added in API level 18
fun getDbm(): Int

Get the RSCP as dBm value -120..-24dBm or UNAVAILABLE.

getEcNo

Added in API level 30
fun getEcNo(): Int

Get the Ec/No (Energy per chip over the noise spectral density) as dB. Reference: TS 25.133 Section 9.1.2.3

Return
Int the Ec/No of the measured cell in the range [-24, 1] or UNAVAILABLE if unavailable

getLevel

Added in API level 18
fun getLevel(): Int

Retrieve an abstract level value for the overall signal quality.

Return
Int Value is between SIGNAL_STRENGTH_NONE_OR_UNKNOWN and SIGNAL_STRENGTH_GREAT inclusive

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 string representation.

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<CellSignalStrengthWcdma!>

Implement the Parcelable interface