CellSignalStrengthGsm
class CellSignalStrengthGsm : CellSignalStrength, Parcelable
| kotlin.Any | ||
| ↳ | android.telephony.CellSignalStrength | |
| ↳ | android.telephony.CellSignalStrengthGsm | |
GSM signal strength related information.
Summary
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int | Implement the Parcelable interface | 
| Boolean | |
| Int | Get the RSSI in ASU. | 
| Int | Return the Bit Error Rate. | 
| Int | getDbm()Get the signal strength as dBm. | 
| Int | getLevel()Retrieve an abstract level value for the overall signal quality. | 
| Int | getRssi()Return the Received Signal Strength Indicator. | 
| Int | Get the GSM timing advance between 0. | 
| Int | hashCode() | 
| String | toString() | 
| Unit | writeToParcel(dest: Parcel, flags: Int)Implement the Parcelable interface | 
| Properties | |
|---|---|
| static Parcelable.Creator<CellSignalStrengthGsm!> | 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 RSSI in ASU. Asu is calculated based on 3GPP RSSI. Refer to 3GPP 27.007 (Ver 10.3.0) Sec 8.69
| Return | |
|---|---|
| Int | RSSI in ASU 0..31, 99, or UNAVAILABLE. | 
getBitErrorRate
fun getBitErrorRate(): Int
Return the Bit Error Rate.
| Return | |
|---|---|
| Int | the bit error rate (0-7, 99) as defined in TS 27.007 8.5 or UNAVAILABLE. | 
getDbm
fun getDbm(): Int
Get the signal strength as dBm.
| Return | |
|---|---|
| Int | the RSSI of the measured cell. | 
getLevel
fun getLevel(): Int
Retrieve an abstract level value for the overall signal quality.
| Return | |
|---|---|
| Int | Value is between android.telephony.CellSignalStrength#SIGNAL_STRENGTH_NONE_OR_UNKNOWNandandroid.telephony.CellSignalStrength#SIGNAL_STRENGTH_GREATinclusive | 
getRssi
fun getRssi(): Int
Return the Received Signal Strength Indicator.
| Return | |
|---|---|
| Int | the RSSI in dBm (-113, -51) or UNAVAILABLE. | 
getTimingAdvance
fun getTimingAdvance(): Int
Get the GSM timing advance between 0..219 symbols (normally 0..63).
UNAVAILABLE is reported when there is no RR connection. Refer to 3GPP 45.010 Sec 5.8.
| Return | |
|---|---|
| Int | the current GSM timing advance, if available. | 
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<CellSignalStrengthGsm!>
Implement the Parcelable interface
