Share via


EuiccManager.ExtraEmbeddedSubscriptionDetailedCode Field

Definition

Key for an extra set on PendingIntent result callbacks providing a detailed result code.

[Android.Runtime.Register("EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE", ApiSince=28)]
public const string ExtraEmbeddedSubscriptionDetailedCode;
[<Android.Runtime.Register("EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE", ApiSince=28)>]
val mutable ExtraEmbeddedSubscriptionDetailedCode : string

Field Value

Attributes

Remarks

Key for an extra set on PendingIntent result callbacks providing a detailed result code.

The value of this key is an integer and contains two portions. The first byte is OperationCode and the reaming three bytes is the ErrorCode.

OperationCode is the first byte of the result code and is a categorization which defines what type of operation took place when an error occurred. e.g #OPERATION_DOWNLOAD means the error is related to download.Since the OperationCode only uses at most one byte, the maximum allowed quantity is 255(0xFF).

ErrorCode is the remaining three bytes of the result code, and it denotes what happened. e.g a combination of #OPERATION_DOWNLOAD and #ERROR_TIME_OUT will suggest the download operation has timed out. The only exception here is #OPERATION_SMDX_SUBJECT_REASON_CODE, where instead of ErrorCode, SubjectCode[5.2.6.1 from GSMA (SGP.22 v2.2) and ReasonCode[5.2.6.2] from GSMA (SGP.22 v2.2) are encoded.

Java documentation for android.telephony.euicc.EuiccManager.EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE.

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