Dela via


TelephonyManager.IccExchangeSimIO Method

Definition

Returns the response APDU for a command APDU sent through SIM_IO.

[Android.Runtime.Register("iccExchangeSimIO", "(IIIIILjava/lang/String;)[B", "GetIccExchangeSimIO_IIIIILjava_lang_String_Handler")]
public virtual byte[]? IccExchangeSimIO (int fileID, int command, int p1, int p2, int p3, string? filePath);
[<Android.Runtime.Register("iccExchangeSimIO", "(IIIIILjava/lang/String;)[B", "GetIccExchangeSimIO_IIIIILjava_lang_String_Handler")>]
abstract member IccExchangeSimIO : int * int * int * int * int * string -> byte[]
override this.IccExchangeSimIO : int * int * int * int * int * string -> byte[]

Parameters

fileID
Int32

fileID

command
Int32

command

p1
Int32

P1 value of the APDU command.

p2
Int32

P2 value of the APDU command.

p3
Int32

P3 value of the APDU command.

filePath
String

filePath

Returns

Byte[]

The APDU response.

Attributes

Remarks

Returns the response APDU for a command APDU sent through SIM_IO.

Requires Permission: android.Manifest.permission#MODIFY_PHONE_STATE MODIFY_PHONE_STATE or that the calling app has carrier privileges (see #hasCarrierPrivileges).

Java documentation for android.telephony.TelephonyManager.iccExchangeSimIO(int, int, int, int, int, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to