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 | |
|---|---|
NtnSignalStrength(source: NtnSignalStrength?)This constructor is used to create a copy of an existing NtnSignalStrength object. |
|
| Public methods | |
|---|---|
| Int | |
| Boolean | |
| Int |
getLevel()Returns notified non-terrestrial network signal strength level. |
| Int |
hashCode() |
| String |
toString() |
| 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: 3NTN_SIGNAL_STRENGTH_GREAT
static val NTN_SIGNAL_STRENGTH_GREAT: Int
Non-terrestrial network signal strength is great.
Value: 4NTN_SIGNAL_STRENGTH_MODERATE
static val NTN_SIGNAL_STRENGTH_MODERATE: Int
Non-terrestrial network signal strength is moderate.
Value: 2NTN_SIGNAL_STRENGTH_NONE
static val NTN_SIGNAL_STRENGTH_NONE: Int
Non-terrestrial network signal strength is not available.
Value: 0NTN_SIGNAL_STRENGTH_POOR
static val NTN_SIGNAL_STRENGTH_POOR: Int
Non-terrestrial network signal strength is poor.
Value: 1Public 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
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!>