# NtnSignalStrength

*** ** * ** ***

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

```
class NtnSignalStrength : Parcelable
```

|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||
| ↳ | [android.telephony.satellite.NtnSignalStrength](https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#) |

NTN signal strength related information.

## Summary

| Constants ||
|---|---|
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_GOOD:kotlin.Int` Non-terrestrial network signal strength is good. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_GREAT:kotlin.Int` Non-terrestrial network signal strength is great. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_MODERATE:kotlin.Int` Non-terrestrial network signal strength is moderate. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_NONE:kotlin.Int` Non-terrestrial network signal strength is not available. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_POOR:kotlin.Int` Non-terrestrial network signal strength is poor. |

| Inherited constants ||
|---|---|
| From class `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#` |---|---| | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#CONTENTS_FILE_DESCRIPTOR:kotlin.Int` Descriptor bit used with `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#describeContents()`: indicates that the Parcelable object's flattened representation includes a file descriptor. <br /> | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE:kotlin.Int` Flag for use with `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#writeToParcel(android.os.Parcel,%20kotlin.Int)`: 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)`". Some implementations may want to release resources at this point. <br /> | ||

| Public constructors ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NtnSignalStrength(android.telephony.satellite.NtnSignalStrength)(source: https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#?)` This constructor is used to create a copy of an existing NtnSignalStrength object. |

| Public methods ||
|---|---|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#describeContents()()` <br /> |
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#equals(kotlin.Any)(other: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?)` <br /> |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#getLevel()()` Returns notified non-terrestrial network signal strength level. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#hashCode()()` <br /> |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#toString()()` <br /> |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#writeToParcel(android.os.Parcel,%20kotlin.Int)(out: https://developer.android.com/reference/kotlin/android/os/Parcel.html#, flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` <br /> |

| Properties ||
|---|---|
| static [Parcelable.Creator](https://developer.android.com/reference/kotlin/android/os/Parcelable.Creator.html#)\<[NtnSignalStrength](https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#)!\> | `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#CREATOR:android.os.Parcelable.Creator` <br /> |

## Constants

### NTN_SIGNAL_STRENGTH_GOOD

```
static val NTN_SIGNAL_STRENGTH_GOOD: Int
```

Non-terrestrial network signal strength is good.

    Value: 3

### NTN_SIGNAL_STRENGTH_GREAT

```
static val NTN_SIGNAL_STRENGTH_GREAT: Int
```

Non-terrestrial network signal strength is great.

    Value: 4

### NTN_SIGNAL_STRENGTH_MODERATE

```
static val NTN_SIGNAL_STRENGTH_MODERATE: Int
```

Non-terrestrial network signal strength is moderate.

    Value: 2

### NTN_SIGNAL_STRENGTH_NONE

```
static val NTN_SIGNAL_STRENGTH_NONE: Int
```

Non-terrestrial network signal strength is not available.

    Value: 0

### NTN_SIGNAL_STRENGTH_POOR

```
static val NTN_SIGNAL_STRENGTH_POOR: Int
```

Non-terrestrial network signal strength is poor.

    Value: 1

## Public constructors

### NtnSignalStrength

```
NtnSignalStrength(source: NtnSignalStrength?)
```

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

| Parameters ||
|---|---|
| `source` | [NtnSignalStrength](https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#)?: This value may be `null`. |

## Public methods

### describeContents

```
fun describeContents(): Int
```

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | 0 |

### equals

```
fun equals(other: Any?): Boolean
```

### getLevel

```
fun getLevel(): Int
```

Returns notified non-terrestrial network signal strength level.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | Value is one of the following: - `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_NONE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_POOR:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_MODERATE:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_GOOD:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/telephony/satellite/NtnSignalStrength#NTN_SIGNAL_STRENGTH_GREAT:kotlin.Int` |

### hashCode

```
fun hashCode(): Int
```

### toString

```
fun toString(): String
```

### writeToParcel

```
fun writeToParcel(
    out: Parcel, 
    flags: Int
): Unit
```

| Parameters ||
|---|---|
| `dest` | The Parcel in which the object should be written. This value cannot be `null`. |
| `flags` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): Additional flags about how the object should be written. May be 0 or `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE:kotlin.Int`. |
| `out` | [Parcel](https://developer.android.com/reference/kotlin/android/os/Parcel.html#): The Parcel in which the object should be written. |

## Properties

### CREATOR

```
static val CREATOR: Parcelable.Creator<NtnSignalStrength!>
```