Added in API level 28

CellIdentity


abstract class CellIdentity : Parcelable
CellIdentityCdma

CellIdentity is to represent a unique CDMA cell

CellIdentityGsm

CellIdentity to represent a unique GSM cell

CellIdentityLte

CellIdentity is to represent a unique LTE cell

CellIdentityNr

Information to represent a unique NR(New Radio 5G) cell.

CellIdentityTdscdma

CellIdentity is to represent a unique TD-SCDMA cell

CellIdentityWcdma

CellIdentity to represent a unique UMTS cell

CellIdentity represents the identity of a unique cell. This is the base class for CellIdentityXxx which represents cell identity for specific network access technology.

Summary

Inherited constants
Int CONTENTS_FILE_DESCRIPTOR

Descriptor bit used with describeContents(): indicates that the Parcelable object's flattened representation includes a file descriptor.

Int PARCELABLE_WRITE_RETURN_VALUE

Flag for use with writeToParcel: 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.

Public methods
open Int

Implement the Parcelable interface

open Boolean
equals(other: Any?)

open CharSequence?

open CharSequence?

open Int

Properties
static Parcelable.Creator<CellIdentity!>

Implement the Parcelable interface

Public methods

describeContents

Added in API level 28
open 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 28
open 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.

getOperatorAlphaLong

Added in API level 28
open fun getOperatorAlphaLong(): CharSequence?
Return
CharSequence? The long alpha tag associated with the current scan result (may be the operator name string or extended operator name string). May be null if unknown.

getOperatorAlphaShort

Added in API level 28
open fun getOperatorAlphaShort(): CharSequence?
Return
CharSequence? The short alpha tag associated with the current scan result (may be the operator name string or extended operator name string). May be null if unknown.

hashCode

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

Properties

CREATOR

Added in API level 28
static val CREATOR: Parcelable.Creator<CellIdentity!>

Implement the Parcelable interface