Added in API level 17

CellInfoGsm


class CellInfoGsm : CellInfo, Parcelable
kotlin.Any
   ↳ android.telephony.CellInfo
   ↳ android.telephony.CellInfoGsm

A CellInfo representing a GSM cell that provides identity and measurement info.

Summary

Inherited constants
Public methods
Int

Implement the Parcelable interface

Boolean
equals(other: Any?)

CellIdentityGsm

CellSignalStrengthGsm

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Implement the Parcelable interface

Inherited functions
Properties
static Parcelable.Creator<CellInfoGsm!>

Implement the Parcelable interface

Public methods

describeContents

Added in API level 17
fun describeContents(): Int

Implement the Parcelable interface

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 17
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.

getCellIdentity

Added in API level 17
fun getCellIdentity(): CellIdentityGsm
Return
CellIdentityGsm a CellIdentityGsm instance. This value cannot be null.

getCellSignalStrength

Added in API level 17
fun getCellSignalStrength(): CellSignalStrengthGsm
Return
CellSignalStrengthGsm a CellSignalStrengthGsm instance. This value cannot be null.

hashCode

Added in API level 17
fun hashCode(): Int
Return
Int hash code

toString

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

writeToParcel

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

Implement the Parcelable interface

Parameters
dest Parcel: 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. 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 17
static val CREATOR: Parcelable.Creator<CellInfoGsm!>

Implement the Parcelable interface