Added in API level 18

CellInfoWcdma


class CellInfoWcdma : CellInfo, Parcelable

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

Inherited constants
Int CONNECTION_NONE

Cell is not a serving cell.

The cell has been measured but is neither a camped nor serving cell (3GPP 36.304).

Int CONNECTION_PRIMARY_SERVING

UE is connected to cell for signalling and possibly data (3GPP 36.331, 25.331).

Int CONNECTION_SECONDARY_SERVING

UE is connected to cell for data (3GPP 36.331, 25.331).

Int CONNECTION_UNKNOWN

Connection status is unknown.

Int UNAVAILABLE

This value indicates that the integer field is unreported.

Long UNAVAILABLE_LONG

This value indicates that the long field is unreported.

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
Int

Implement the Parcelable interface

Boolean
equals(other: Any?)

CellIdentityWcdma

CellSignalStrengthWcdma

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Implement the Parcelable interface

Inherited functions
Int getCellConnectionStatus()

Gets the connection status of this cell.

Long getTimeStamp()

Approximate time this cell information was received from the modem.

Long getTimestampMillis()

Approximate time this cell information was received from the modem.
Value is a non-negative timestamp in the android.os.SystemClock#elapsedRealtime() time base.

Boolean isRegistered()

True if the phone is registered to a mobile network that provides service on this cell and this cell is being used or would be used for network signaling.

Properties
static Parcelable.Creator<CellInfoWcdma!>

Implement the Parcelable interface

Public methods

describeContents

Added in API level 18
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 18
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 18
fun getCellIdentity(): CellIdentityWcdma

getCellSignalStrength

Added in API level 18
fun getCellSignalStrength(): CellSignalStrengthWcdma

hashCode

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

toString

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

writeToParcel

Added in API level 18
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 18
static val CREATOR: Parcelable.Creator<CellInfoWcdma!>

Implement the Parcelable interface

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Oct 27, 2021

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Jan 3, 2024

DevBytes: Android 4.4 Printing API Android users frequently view content solely on their devices, but there are times when showing someone a screen is not an adequate way to share information. Being able to print information from your Android application…

Updated Dec 27, 2019