NtnSignalStrength


class NtnSignalStrength : Parcelable
kotlin.Any
   ↳ android.telephony.satellite.NtnSignalStrength

NTN signal strength related information.

Summary

Constants
static Int

Non-terrestrial network signal strength is good.

static Int

Non-terrestrial network signal strength is great.

static Int

Non-terrestrial network signal strength is moderate.

static Int

Non-terrestrial network signal strength is not available.

static Int

Non-terrestrial network signal strength is poor.

Inherited constants
Public constructors

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

Public methods
Int

Boolean
equals(other: Any?)

Int

Returns notified non-terrestrial network signal strength level.

Int

String

Unit
writeToParcel(out: Parcel, flags: Int)

Properties
static Parcelable.Creator<NtnSignalStrength!>

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?: This value may be null.

Public methods

describeContents

fun describeContents(): Int
Return
Int 0

equals

fun equals(other: Any?): Boolean

getLevel

fun getLevel(): Int

Returns notified non-terrestrial network signal strength level.

Return
Int Value is one of the following:

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: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.
out Parcel: The Parcel in which the object should be written.

Properties

CREATOR

static val CREATOR: Parcelable.Creator<NtnSignalStrength!>