# SignalStrength

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Constants](https://developer.android.com/reference/android/telephony/SignalStrength#constants)\|[Inherited Constants](https://developer.android.com/reference/android/telephony/SignalStrength#inhconstants)\|[Fields](https://developer.android.com/reference/android/telephony/SignalStrength#lfields)\|[Ctors](https://developer.android.com/reference/android/telephony/SignalStrength#pubctors)\|[Methods](https://developer.android.com/reference/android/telephony/SignalStrength#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/telephony/SignalStrength#inhmethods)  

# SignalStrength

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/telephony/SignalStrength "View this page in Kotlin")\|Java

`
public


class
SignalStrength
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object)`


``


implements

`[Parcelable](https://developer.android.com/reference/android/os/Parcelable)`


`

|---|----------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.telephony.SignalStrength |

<br />

*** ** * ** ***

Contains phone signal strength related information.

## Summary

|                                                                     ### Constants                                                                     ||
|-------|------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [INVALID](https://developer.android.com/reference/android/telephony/SignalStrength#INVALID) Indicates the invalid measures of signal strength. |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From interface[android.os.Parcelable](https://developer.android.com/reference/android/os/Parcelable) |-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `int` | [CONTENTS_FILE_DESCRIPTOR](https://developer.android.com/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR) Descriptor bit used with[describeContents()](https://developer.android.com/reference/android/os/Parcelable#describeContents()): indicates that the Parcelable object's flattened representation includes a file descriptor.                                                                                                                                            | | `int` | [PARCELABLE_WRITE_RETURN_VALUE](https://developer.android.com/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE) Flag for use with[writeToParcel(Parcel, int)](https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)): the object being written is a return value, that is the result of a function such as "`Parcelable someFunction()`", "`void someFunction(out Parcelable)`", or "`void someFunction(inout Parcelable)`". | |

|                                                                                                                                                                                            ### Fields                                                                                                                                                                                            ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` public static final `[Creator](https://developer.android.com/reference/android/os/Parcelable.Creator)`<`[SignalStrength](https://developer.android.com/reference/android/telephony/SignalStrength)`>` | [CREATOR](https://developer.android.com/reference/android/telephony/SignalStrength#CREATOR) [Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator) |

|                                                                                                                                                       ### Public constructors                                                                                                                                                        ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[SignalStrength](https://developer.android.com/reference/android/telephony/SignalStrength#SignalStrength(android.telephony.SignalStrength))`(`[SignalStrength](https://developer.android.com/reference/android/telephony/SignalStrength)` s) ` This constructor is used to create a copy of an existing SignalStrength object. |

|                                                                                                                                                                                                                                                                                                                                                                      ### Public methods                                                                                                                                                                                                                                                                                                                                                                      ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` int`                                                                                                                                                                                  | ` `[describeContents](https://developer.android.com/reference/android/telephony/SignalStrength#describeContents())`() ` [Parcelable.describeContents](https://developer.android.com/reference/android/os/Parcelable#describeContents())                                                                                                                                                                                                                                                                                                                             |
| ` boolean`                                                                                                                                                                              | ` `[equals](https://developer.android.com/reference/android/telephony/SignalStrength#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` o) ` Indicates whether some other object is "equal to" this one.                                                                                                                                                                                                                                                                                                               |
| ` int`                                                                                                                                                                                  | ` `[getCdmaDbm](https://developer.android.com/reference/android/telephony/SignalStrength#getCdmaDbm())`() ` *This method was deprecated in API level 29. this information should be retrieved from[CellSignalStrengthCdma.getCdmaDbm](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getCdmaDbm()).*                                                                                                                                                                                                                              |
| ` int`                                                                                                                                                                                  | ` `[getCdmaEcio](https://developer.android.com/reference/android/telephony/SignalStrength#getCdmaEcio())`() ` *This method was deprecated in API level 29. this information should be retrieved from[CellSignalStrengthCdma.getCdmaEcio](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getCdmaEcio()).*                                                                                                                                                                                                                          |
| ` <T extends `[CellSignalStrength](https://developer.android.com/reference/android/telephony/CellSignalStrength)`> `[List](https://developer.android.com/reference/java/util/List)`<T>` | ` `[getCellSignalStrengths](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths(java.lang.Class<T>))`(`[Class](https://developer.android.com/reference/java/lang/Class)`<T> clazz) ` Returns a List of CellSignalStrength Components of this SignalStrength Report.                                                                                                                                                                                                                                                     |
| ` `[List](https://developer.android.com/reference/java/util/List)`<`[CellSignalStrength](https://developer.android.com/reference/android/telephony/CellSignalStrength)`>`               | ` `[getCellSignalStrengths](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())`() ` Returns a List of CellSignalStrength Components of this SignalStrength Report.                                                                                                                                                                                                                                                                                                                                                  |
| ` int`                                                                                                                                                                                  | ` `[getEvdoDbm](https://developer.android.com/reference/android/telephony/SignalStrength#getEvdoDbm())`() ` *This method was deprecated in API level 29. this information should be retrieved from[CellSignalStrengthCdma.getEvdoDbm](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getEvdoDbm()).*                                                                                                                                                                                                                              |
| ` int`                                                                                                                                                                                  | ` `[getEvdoEcio](https://developer.android.com/reference/android/telephony/SignalStrength#getEvdoEcio())`() ` *This method was deprecated in API level 29. this information should be retrieved from[CellSignalStrengthCdma.getEvdoEcio](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getEvdoEcio()).*                                                                                                                                                                                                                          |
| ` int`                                                                                                                                                                                  | ` `[getEvdoSnr](https://developer.android.com/reference/android/telephony/SignalStrength#getEvdoSnr())`() ` *This method was deprecated in API level 29. this information should be retrieved from[CellSignalStrengthCdma.getEvdoSnr](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getEvdoSnr()).*                                                                                                                                                                                                                              |
| ` int`                                                                                                                                                                                  | ` `[getGsmBitErrorRate](https://developer.android.com/reference/android/telephony/SignalStrength#getGsmBitErrorRate())`() ` *This method was deprecated in API level 29. this information should be retrieved from[CellSignalStrengthGsm.getBitErrorRate](https://developer.android.com/reference/android/telephony/CellSignalStrengthGsm#getBitErrorRate()).*                                                                                                                                                                                                      |
| ` int`                                                                                                                                                                                  | ` `[getGsmSignalStrength](https://developer.android.com/reference/android/telephony/SignalStrength#getGsmSignalStrength())`() ` *This method was deprecated in API level 29. this information should be retrieved from[CellSignalStrengthGsm.getAsuLevel](https://developer.android.com/reference/android/telephony/CellSignalStrengthGsm#getAsuLevel()).*                                                                                                                                                                                                          |
| ` int`                                                                                                                                                                                  | ` `[getLevel](https://developer.android.com/reference/android/telephony/SignalStrength#getLevel())`() ` Retrieve an abstract level value for the overall signal strength.                                                                                                                                                                                                                                                                                                                                                                                           |
| ` long`                                                                                                                                                                                 | ` `[getTimestampMillis](https://developer.android.com/reference/android/telephony/SignalStrength#getTimestampMillis())`() ` <br /> Value is a non-negative timestamp in the[SystemClock.elapsedRealtime()](https://developer.android.com/reference/android/os/SystemClock#elapsedRealtime())time base.                                                                                                                                                                                                                                                              |
| ` int`                                                                                                                                                                                  | ` `[hashCode](https://developer.android.com/reference/android/telephony/SignalStrength#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` boolean`                                                                                                                                                                              | ` `[isGsm](https://developer.android.com/reference/android/telephony/SignalStrength#isGsm())`() ` *This method was deprecated in API level 29. This method returns true if there are any 3gpp type SignalStrength elements in this SignalStrength report or if the report contains no valid SignalStrength information. Instead callers should use[getCellSignalStrengths()](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())to determine which types of information are contained in the SignalStrength report.* |
| ` `[String](https://developer.android.com/reference/java/lang/String)                                                                                                                   | ` `[toString](https://developer.android.com/reference/android/telephony/SignalStrength#toString())`() ` Returns a string representation of the object.                                                                                                                                                                                                                                                                                                                                                                                                              |
| ` void`                                                                                                                                                                                 | ` `[writeToParcel](https://developer.android.com/reference/android/telephony/SignalStrength#writeToParcel(android.os.Parcel,%20int))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel)` out, int flags) ` [Parcelable.writeToParcel](https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int))                                                                                                                                                                                                     |

| ### Inherited methods |
|-----------------------|---|
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed.                   | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*.                                                                                             | ||
| From interface` `[android.os.Parcelable](https://developer.android.com/reference/android/os/Parcelable)` ` |------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract int`  | ` `[describeContents](https://developer.android.com/reference/android/os/Parcelable#describeContents())`() ` Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.                                    | | ` abstract void` | ` `[writeToParcel](https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel)` dest, int flags) ` Flatten this object in to a Parcel. | ||

## Constants

### INVALID

Added in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final int INVALID
```

Indicates the invalid measures of signal strength. For example, this can be returned by[getEvdoDbm()](https://developer.android.com/reference/android/telephony/SignalStrength#getEvdoDbm())or[getCdmaDbm()](https://developer.android.com/reference/android/telephony/SignalStrength#getCdmaDbm())

<br />

Constant Value: 2147483647 (0x7fffffff)

## Fields

### CREATOR

Added in[API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final Creator<SignalStrength> CREATOR
```

[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator)

<br />

## Public constructors

### SignalStrength

Added in[API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public SignalStrength (SignalStrength s)
```

This constructor is used to create a copy of an existing SignalStrength object.

<br />

|                                   Parameters                                    ||
|-----|----------------------------------------------------------------------------|
| `s` | `SignalStrength`: Source SignalStrength This value cannot be`null`. <br /> |

## Public methods

### describeContents

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int describeContents ()
```

[Parcelable.describeContents](https://developer.android.com/reference/android/os/Parcelable#describeContents())

<br />

|                                                                                                                         Returns                                                                                                                         ||
|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either`0`or[CONTENTS_FILE_DESCRIPTOR](https://developer.android.com/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR) <br /> |

### equals

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public boolean equals (Object o)
```

Indicates whether some other object is "equal to" this one.

The`equals`method implements an equivalence relation on non-null object references:

- It is*reflexive* : for any non-null reference value`x`,`x.equals(x)`should return`true`.
- It is*symmetric* : for any non-null reference values`x`and`y`,`x.equals(y)`should return`true`if and only if`y.equals(x)`returns`true`.
- It is*transitive* : for any non-null reference values`x`,`y`, and`z`, if`x.equals(y)`returns`true`and`y.equals(z)`returns`true`, then`x.equals(z)`should return`true`.
- It is*consistent* : for any non-null reference values`x`and`y`, multiple invocations of`x.equals(y)`consistently return`true`or consistently return`false`, provided no information used in`equals`comparisons on the objects is modified.
- For any non-null reference value`x`,`x.equals(null)`should return`false`.

An equivalence relation partitions the elements it operates on into*equivalence classes*; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.

<br />

|                            Parameters                             ||
|-----|--------------------------------------------------------------|
| `o` | `Object`: the reference object with which to compare. <br /> |

|                           Returns                           ||
|-----------|--------------------------------------------------|
| `boolean` | true if the signal strengths are the same <br /> |

### getCdmaDbm

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int getCdmaDbm ()
```

<br />

**This method was deprecated in API level 29.**   
this information should be retrieved from[CellSignalStrengthCdma.getCdmaDbm](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getCdmaDbm()).

Get the CDMA RSSI value in dBm

<br />

|                                                                  Returns                                                                  ||
|-------|------------------------------------------------------------------------------------------------------------------------------------|
| `int` | the CDMA RSSI value or[INVALID](https://developer.android.com/reference/android/telephony/SignalStrength#INVALID)if invalid <br /> |

**See also:**

- [CellSignalStrengthCdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma)
- [getCellSignalStrengths()](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())  

### getCdmaEcio

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int getCdmaEcio ()
```

<br />

**This method was deprecated in API level 29.**   
this information should be retrieved from[CellSignalStrengthCdma.getCdmaEcio](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getCdmaEcio()).

Get the CDMA Ec/Io value in dB\*10

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |

**See also:**

- [CellSignalStrengthCdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma)
- [getCellSignalStrengths()](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())  

### getCellSignalStrengths

Added in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public List<T> getCellSignalStrengths (Class<T> clazz)
```

Returns a List of CellSignalStrength Components of this SignalStrength Report. Use this API to access underlying[CellSignalStrength](https://developer.android.com/reference/android/telephony/CellSignalStrength)objects that provide more granular information about the SignalStrength report. Only valid (non-empty) CellSignalStrengths will be returned. The order of any returned elements is not guaranteed, and the list may contain more than one instance of a CellSignalStrength type.

<br />

|                                                                                                    Parameters                                                                                                     ||
|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `clazz` | `Class`: a class type that extends[CellSignalStrength](https://developer.android.com/reference/android/telephony/CellSignalStrength)to filter possible return values. This value cannot be`null`. <br /> |

|                                                                                          Returns                                                                                          ||
|---------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|
| [List](https://developer.android.com/reference/java/util/List)`<T>` | a List of CellSignalStrength or an empty List if there are no valid measurements. This value cannot be`null`. <br /> |

**See also:**

- [CellSignalStrength](https://developer.android.com/reference/android/telephony/CellSignalStrength)
- [CellSignalStrengthNr](https://developer.android.com/reference/android/telephony/CellSignalStrengthNr)
- [CellSignalStrengthLte](https://developer.android.com/reference/android/telephony/CellSignalStrengthLte)
- [CellSignalStrengthTdscdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthTdscdma)
- [CellSignalStrengthWcdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthWcdma)
- [CellSignalStrengthCdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma)
- [CellSignalStrengthGsm](https://developer.android.com/reference/android/telephony/CellSignalStrengthGsm)  

### getCellSignalStrengths

Added in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public List<CellSignalStrength> getCellSignalStrengths ()
```

Returns a List of CellSignalStrength Components of this SignalStrength Report. Use this API to access underlying[CellSignalStrength](https://developer.android.com/reference/android/telephony/CellSignalStrength)objects that provide more granular information about the SignalStrength report. Only valid (non-empty) CellSignalStrengths will be returned. The order of any returned elements is not guaranteed, and the list may contain more than one instance of a CellSignalStrength type.

<br />

|                                                                                                                                           Returns                                                                                                                                            ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|
| [List](https://developer.android.com/reference/java/util/List)`<`[CellSignalStrength](https://developer.android.com/reference/android/telephony/CellSignalStrength)`>` | a List of CellSignalStrength or an empty List if there are no valid measurements. This value cannot be`null`. <br /> |

**See also:**

- [CellSignalStrength](https://developer.android.com/reference/android/telephony/CellSignalStrength)
- [CellSignalStrengthNr](https://developer.android.com/reference/android/telephony/CellSignalStrengthNr)
- [CellSignalStrengthLte](https://developer.android.com/reference/android/telephony/CellSignalStrengthLte)
- [CellSignalStrengthTdscdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthTdscdma)
- [CellSignalStrengthWcdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthWcdma)
- [CellSignalStrengthCdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma)
- [CellSignalStrengthGsm](https://developer.android.com/reference/android/telephony/CellSignalStrengthGsm)  

### getEvdoDbm

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int getEvdoDbm ()
```

<br />

**This method was deprecated in API level 29.**   
this information should be retrieved from[CellSignalStrengthCdma.getEvdoDbm](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getEvdoDbm()).

Get the EVDO RSSI value in dBm

<br />

|                                                                  Returns                                                                  ||
|-------|------------------------------------------------------------------------------------------------------------------------------------|
| `int` | the EVDO RSSI value or[INVALID](https://developer.android.com/reference/android/telephony/SignalStrength#INVALID)if invalid <br /> |

**See also:**

- [CellSignalStrengthCdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma)
- [getCellSignalStrengths()](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())  

### getEvdoEcio

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int getEvdoEcio ()
```

<br />

**This method was deprecated in API level 29.**   
this information should be retrieved from[CellSignalStrengthCdma.getEvdoEcio](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getEvdoEcio()).

Get the EVDO Ec/Io value in dB\*10

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |

**See also:**

- [CellSignalStrengthCdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma)
- [getCellSignalStrengths()](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())  

### getEvdoSnr

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int getEvdoSnr ()
```

<br />

**This method was deprecated in API level 29.**   
this information should be retrieved from[CellSignalStrengthCdma.getEvdoSnr](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma#getEvdoSnr()).

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

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |

**See also:**

- [CellSignalStrengthCdma](https://developer.android.com/reference/android/telephony/CellSignalStrengthCdma)
- [getCellSignalStrengths()](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())  

### getGsmBitErrorRate

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int getGsmBitErrorRate ()
```

<br />

**This method was deprecated in API level 29.**   
this information should be retrieved from[CellSignalStrengthGsm.getBitErrorRate](https://developer.android.com/reference/android/telephony/CellSignalStrengthGsm#getBitErrorRate()).

Get the GSM bit error rate (0-7, 99) as defined in TS 27.007 8.5

<br />

|    Returns    ||
|-------|--------|
| `int` | <br /> |

**See also:**

- [CellSignalStrengthGsm](https://developer.android.com/reference/android/telephony/CellSignalStrengthGsm)
- [getCellSignalStrengths()](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())  

### getGsmSignalStrength

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int getGsmSignalStrength ()
```

<br />

**This method was deprecated in API level 29.**   
this information should be retrieved from[CellSignalStrengthGsm.getAsuLevel](https://developer.android.com/reference/android/telephony/CellSignalStrengthGsm#getAsuLevel()).

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

<br />

|                       Returns                       ||
|-------|----------------------------------------------|
| `int` | RSSI in ASU 0..31, 99, or UNAVAILABLE <br /> |

**See also:**

- [CellSignalStrengthGsm](https://developer.android.com/reference/android/telephony/CellSignalStrengthGsm)
- [getCellSignalStrengths()](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())  

### getLevel

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int getLevel ()
```

Retrieve an abstract level value for the overall signal strength.

<br />

|                                                                                                                     Returns                                                                                                                     ||
|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | a single integer from 0 to 4 representing the general signal quality. This may take into account many different radio technology inputs. 0 represents very poor signal strength while 4 represents a very strong signal strength. <br /> |

### getTimestampMillis

Added in[API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public long getTimestampMillis ()
```

<br />

Value is a non-negative timestamp in the[SystemClock.elapsedRealtime()](https://developer.android.com/reference/android/os/SystemClock#elapsedRealtime())time base.

<br />

|                                                                                                                                                                                                                                                                                 Returns                                                                                                                                                                                                                                                                                 ||
|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `long` | timestamp in milliseconds since boot for[SignalStrength](https://developer.android.com/reference/android/telephony/SignalStrength). This timestamp reports the approximate time that the signal was measured and reported by the modem. It can be used to compare the recency of[SignalStrength](https://developer.android.com/reference/android/telephony/SignalStrength)instances. Value is a non-negative timestamp in the[SystemClock.elapsedRealtime()](https://developer.android.com/reference/android/os/SystemClock#elapsedRealtime())time base. <br /> |

### hashCode

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int hashCode ()
```

Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by[HashMap](https://developer.android.com/reference/java/util/HashMap).

The general contract of`hashCode`is:

- Whenever it is invoked on the same object more than once during an execution of a Java application, the`hashCode`method must consistently return the same integer, provided no information used in`equals`comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
- If two objects are equal according to the[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))method, then calling the`hashCode`method on each of the two objects must produce the same integer result.
- It is*not* required that if two objects are unequal according to the[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))method, then calling the`hashCode`method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.

<br />

<br />

|         Returns         ||
|-------|------------------|
| `int` | hash code <br /> |

### isGsm

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Deprecated in[API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public boolean isGsm ()
```

<br />

**This method was deprecated in API level 29.**   
This method returns true if there are any 3gpp type SignalStrength elements in this SignalStrength report or if the report contains no valid SignalStrength information. Instead callers should use[getCellSignalStrengths()](https://developer.android.com/reference/android/telephony/SignalStrength#getCellSignalStrengths())to determine which types of information are contained in the SignalStrength report.

<br />

<br />

|                  Returns                  ||
|-----------|--------------------------------|
| `boolean` | true if this is for GSM <br /> |

### toString

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String toString ()
```

Returns a string representation of the object.

<br />

|                                              Returns                                              ||
|--------------------------------------------------------------------|-------------------------------|
| [String](https://developer.android.com/reference/java/lang/String) | string representation. <br /> |

### writeToParcel

Added in[API level 7](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void writeToParcel (Parcel out, 
                int flags)
```

[Parcelable.writeToParcel](https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int))

<br />

|                                                                                                                                                                                                                               Parameters                                                                                                                                                                                                                                ||
|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `out`   | `Parcel`: The Parcel in which the object should be written. This value cannot be`null`. <br />                                                                                                                                                                                                                                                                                                                                                                 |
| `flags` | `int`: Additional flags about how the object should be written. May be 0 or[Parcelable.PARCELABLE_WRITE_RETURN_VALUE](https://developer.android.com/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE). Value is either`0`or a combination of[Parcelable.PARCELABLE_WRITE_RETURN_VALUE](https://developer.android.com/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE), and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES <br /> |