Added in API level 21

IccOpenLogicalChannelResponse

open class IccOpenLogicalChannelResponse : Parcelable
kotlin.Any
   ↳ android.telephony.IccOpenLogicalChannelResponse

Response to the android.telephony.TelephonyManager#iccOpenLogicalChannel command.

Summary

Constants
static Int

Indicates an invalid channel.

static Int

static Int

Possible status values returned by open channel command.

static Int

static Int

Inherited constants
Public methods
open Int

open Int

open ByteArray!

open Int

open String

open Unit
writeToParcel(out: Parcel, flags: Int)

Properties
static Parcelable.Creator<IccOpenLogicalChannelResponse!>

Constants

INVALID_CHANNEL

Added in API level 21
static val INVALID_CHANNEL: Int

Indicates an invalid channel.

Value: -1

STATUS_MISSING_RESOURCE

Added in API level 21
static val STATUS_MISSING_RESOURCE: Int
Value: 2

STATUS_NO_ERROR

Added in API level 21
static val STATUS_NO_ERROR: Int

Possible status values returned by open channel command. STATUS_NO_ERROR: Open channel command returned successfully. STATUS_MISSING_RESOURCE: No logical channels available. STATUS_NO_SUCH_ELEMENT: AID not found on UICC. STATUS_UNKNOWN_ERROR: Unknown error in open channel command.

Value: 1

STATUS_NO_SUCH_ELEMENT

Added in API level 21
static val STATUS_NO_SUCH_ELEMENT: Int
Value: 3

STATUS_UNKNOWN_ERROR

Added in API level 21
static val STATUS_UNKNOWN_ERROR: Int
Value: 4

Public methods

describeContents

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

getChannel

Added in API level 21
open fun getChannel(): Int
Return
Int the channel id.

getSelectResponse

Added in API level 21
open fun getSelectResponse(): ByteArray!
Return
ByteArray! the select response.

getStatus

Added in API level 21
open fun getStatus(): Int
Return
Int the status of the command.

toString

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

writeToParcel

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