Added in API level 31
    Builder
class Builder
| kotlin.Any | |
| ↳ | android.telephony.euicc.DownloadableSubscription.Builder | 
Summary
| Public constructors | |
|---|---|
| Builder(baseSubscription: DownloadableSubscription) | |
| Public methods | |
|---|---|
| DownloadableSubscription | build()Builds a  | 
| DownloadableSubscription.Builder | setConfirmationCode(value: String)Sets the confirmation code. | 
| DownloadableSubscription.Builder | setEncodedActivationCode(value: String)Sets the encoded activation code. | 
Public constructors
Builder
Added in API level 31
      Builder(baseSubscription: DownloadableSubscription)
| Parameters | |
|---|---|
| baseSubscription | DownloadableSubscription: This value cannot be null. | 
Builder
Added in API level 31
      Builder(encodedActivationCode: String)
| Parameters | |
|---|---|
| encodedActivationCode | String: This value cannot be null. | 
Public methods
build
Added in API level 31
      fun build(): DownloadableSubscription
Builds a DownloadableSubscription object.
| Return | |
|---|---|
| DownloadableSubscription | a non-null DownloadableSubscriptionobject. | 
setConfirmationCode
Added in API level 31
      fun setConfirmationCode(value: String): DownloadableSubscription.Builder
Sets the confirmation code.
| Parameters | |
|---|---|
| value | String: the confirmation code to use to authenticate the carrier server got subscription download. This value cannot be null. | 
| Return | |
|---|---|
| DownloadableSubscription.Builder | This value cannot be null. | 
setEncodedActivationCode
Added in API level 31
      fun setEncodedActivationCode(value: String): DownloadableSubscription.Builder
Sets the encoded activation code.
| Parameters | |
|---|---|
| value | 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. | 
| Return | |
|---|---|
| DownloadableSubscription.Builder | This value cannot be null. | 
