Added in API level 17

CellSignalStrengthCdma


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

Signal strength related information.

Summary

Inherited constants
Public methods
Int

Implement the Parcelable interface

Boolean
equals(other: Any?)

Int

Get the 1xRTT Level in (Android) ASU.

Int

Get the CDMA RSSI value in dBm

Int

Get the CDMA Ec/Io value in dB*10

Int

Get cdma as level 0.

Int

Get the signal strength as dBm

Int

Get the EVDO RSSI value in dBm

Int

Get the EVDO Ec/Io value in dB*10

Int

Get Evdo as level 0.

Int

Get the signal to noise ratio.

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

Implement the Parcelable interface

Public methods

describeContents

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

getAsuLevel

Added in API level 17
fun getAsuLevel(): Int

Get the 1xRTT Level in (Android) ASU. There is no standard definition of ASU for CDMA; however, Android defines it as the the lesser of the following two results (for 1xRTT):

RSSI Range (dBm) ASU Value
-75.. 16
-82..-76 8
-90..-83 4
-95..-91 2
-100..-96 1
..-101 99
Ec/Io Range (dB) ASU Value
-90.. 16
-100..-91 8
-115..-101 4
-130..-116 2
--150..-131 1
..-151 99

Return
Int 1xRTT Level in Android ASU {1,2,4,8,16,99}

getCdmaDbm

Added in API level 17
fun getCdmaDbm(): Int

Get the CDMA RSSI value in dBm

getCdmaEcio

Added in API level 17
fun getCdmaEcio(): Int

Get the CDMA Ec/Io value in dB*10

getCdmaLevel

Added in API level 17
fun getCdmaLevel(): Int

Get cdma as level 0..4

getDbm

Added in API level 17
fun getDbm(): Int

Get the signal strength as dBm

Return
Int min(CDMA RSSI, EVDO RSSI) of the measured cell.

getEvdoDbm

Added in API level 17
fun getEvdoDbm(): Int

Get the EVDO RSSI value in dBm

getEvdoEcio

Added in API level 17
fun getEvdoEcio(): Int

Get the EVDO Ec/Io value in dB*10

getEvdoLevel

Added in API level 17
fun getEvdoLevel(): Int

Get Evdo as level 0..4

getEvdoSnr

Added in API level 17
fun getEvdoSnr(): Int

Get the signal to noise ratio. Valid values are 0-8. 8 is the highest.

getLevel

Added in API level 17
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 17
fun hashCode(): Int
Return
Int a hash code value for this object.

toString

Added in API level 17
fun toString(): String
Return
String string representation.

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

Implement the Parcelable interface