CellSignalStrengthTdscdma
class CellSignalStrengthTdscdma : CellSignalStrength, Parcelable
| kotlin.Any | ||
| ↳ | android.telephony.CellSignalStrength | |
| ↳ | android.telephony.CellSignalStrengthTdscdma | |
Tdscdma signal strength related information. This class provides signal strength and signal quality information for the TD-SCDMA air interface. For more information see 3gpp 25.225.
Summary
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int | Implement the Parcelable interface | 
| Boolean | |
| Int | Get the RSCP in ASU. | 
| Int | getDbm()Get the RSCP as dBm value -120. | 
| Int | getLevel()Retrieve an abstract level value for the overall signal quality. | 
| Int | getRscp()Get the RSCP as dBm value -120. | 
| Int | hashCode() | 
| String | toString() | 
| Unit | writeToParcel(dest: Parcel, flags: Int)Implement the Parcelable interface | 
| Properties | |
|---|---|
| static Parcelable.Creator<CellSignalStrengthTdscdma!> | Implement the Parcelable interface | 
Public methods
describeContents
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 0orandroid.os.Parcelable#CONTENTS_FILE_DESCRIPTOR | 
equals
fun equals(other: Any?): Boolean
| Parameters | |
|---|---|
| obj | the reference object with which to compare. | 
| Return | |
|---|---|
| Boolean | trueif this object is the same as the obj argument;falseotherwise. | 
getAsuLevel
fun getAsuLevel(): Int
Get the RSCP in ASU. Asu is calculated based on 3GPP RSRP. Refer to 3GPP 27.007 (Ver 10.3.0) Sec 8.69
| Return | |
|---|---|
| Int | RSCP in ASU 0..96, 255, or UNAVAILABLE. | 
getDbm
fun getDbm(): Int
Get the RSCP as dBm value -120..-24dBm or UNAVAILABLE.
getLevel
fun getLevel(): Int
Retrieve an abstract level value for the overall signal quality.
| Return | |
|---|---|
| Int | Value is between 0 and 4 inclusive | 
getRscp
fun getRscp(): Int
Get the RSCP as dBm value -120..-24dBm or UNAVAILABLE.
writeToParcel
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 either0or a combination ofandroid.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES | 
Properties
CREATOR
static val CREATOR: Parcelable.Creator<CellSignalStrengthTdscdma!>
Implement the Parcelable interface
