DownloadableSubscription.ForActivationCode(String) Method

Definition

Create a DownloadableSubscription for the given activation code.

[Android.Runtime.Register("forActivationCode", "(Ljava/lang/String;)Landroid/telephony/euicc/DownloadableSubscription;", "", ApiSince=28)]
public static Android.Telephony.Euicc.DownloadableSubscription? ForActivationCode (string? encodedActivationCode);
[<Android.Runtime.Register("forActivationCode", "(Ljava/lang/String;)Landroid/telephony/euicc/DownloadableSubscription;", "", ApiSince=28)>]
static member ForActivationCode : string -> Android.Telephony.Euicc.DownloadableSubscription

Parameters

encodedActivationCode
String

the activation code to use. An activation code can be parsed from a user scanned QR code. The format of activation code is defined in SGP.22. For example, "1$SMDP.GSMA.COM$04386-AGYFT-A74Y8-3F815$1.3.6.1.4.1.31746". For detail, see com.android.euicc.data.ActivationCode. Must not be null.

Returns

DownloadableSubscription

the DownloadableSubscription which may be passed to EuiccManager#downloadSubscription.

Attributes

Remarks

Java documentation for android.telephony.euicc.DownloadableSubscription.forActivationCode(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