Added in API level 31

SignalStrengthUpdateRequest

class SignalStrengthUpdateRequest : Parcelable
kotlin.Any
   ↳ android.telephony.SignalStrengthUpdateRequest

Request used to register SignalThresholdInfo to be notified when the signal strength breach the specified thresholds.

Summary

Nested classes

Builder class to create SignalStrengthUpdateRequest object.

Inherited constants
Public methods
Int

Boolean
equals(other: Any?)

MutableCollection<SignalThresholdInfo!>

Get the collection of SignalThresholdInfo in the request.

Int

Boolean

Get whether reporting is requested for the threshold in the request while device is idle.

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<SignalStrengthUpdateRequest!>

Public methods

describeContents

Added in API level 31
fun describeContents(): Int
Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

equals

Added in API level 31
fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getSignalThresholdInfos

Added in API level 31
fun getSignalThresholdInfos(): MutableCollection<SignalThresholdInfo!>

Get the collection of SignalThresholdInfo in the request.

Return
MutableCollection<SignalThresholdInfo!> the collection of SignalThresholdInfo This value cannot be null.

hashCode

Added in API level 31
fun hashCode(): Int
Return
Int a hash code value for this object.

isReportingRequestedWhileIdle

Added in API level 31
fun isReportingRequestedWhileIdle(): Boolean

Get whether reporting is requested for the threshold in the request while device is idle.

Return
Boolean true if reporting requested while device is idle

toString

Added in API level 31
fun toString(): String
Return
String a string representation of the object.

writeToParcel

Added in API level 31
fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Flatten this object in to a Parcel.

Parameters
dest Parcel: 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 either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES

Properties

CREATOR

Added in API level 31
static val CREATOR: Parcelable.Creator<SignalStrengthUpdateRequest!>