-
public final class InitConnectionConfigConnection initialization configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classInitConnectionConfig.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BillingChoiceScreenTypeAndroidbillingChoiceScreenTypeAndroidprivate final BillingProgramAndroidenableBillingProgramAndroid
-
Constructor Summary
Constructors Constructor Description InitConnectionConfig(BillingChoiceScreenTypeAndroid billingChoiceScreenTypeAndroid, BillingProgramAndroid enableBillingProgramAndroid)
-
Method Summary
Modifier and Type Method Description final BillingChoiceScreenTypeAndroidgetBillingChoiceScreenTypeAndroid()Billing Choice renderer configured in Play Console. final BillingProgramAndroidgetEnableBillingProgramAndroid()Enable a specific billing program for Android (7.0+) When set, enables the specified billing program for external transactions. final Map<String, Object>toJson()-
-
Constructor Detail
-
InitConnectionConfig
InitConnectionConfig(BillingChoiceScreenTypeAndroid billingChoiceScreenTypeAndroid, BillingProgramAndroid enableBillingProgramAndroid)
-
-
Method Detail
-
getBillingChoiceScreenTypeAndroid
final BillingChoiceScreenTypeAndroid getBillingChoiceScreenTypeAndroid()
Billing Choice renderer configured in Play Console. Available in OpenIAP Spec 2.1.0 / openiap-google 2.3.0 (requires Play Billing 9.1.0+). GOOGLE_RENDERED registers the developer-provided billing listener so OpenIAP can emit the selection event. DEVELOPER_RENDERED omits that listener so the app can render its own choice screen and use the reporting/dialog/link APIs. Must match choiceScreenType returned by isBillingProgramAvailableAndroid. Defaults to GOOGLE_RENDERED.
-
getEnableBillingProgramAndroid
final BillingProgramAndroid getEnableBillingProgramAndroid()
Enable a specific billing program for Android (7.0+) When set, enables the specified billing program for external transactions.
USER_CHOICE_BILLING: User can select between Google Play or alternative (7.0+)
EXTERNAL_CONTENT_LINK: Link to external content (introduced in 8.2.0; use 8.2.1+)
EXTERNAL_OFFER: External offers for digital content (introduced in 8.2.0; use 8.2.1+)
EXTERNAL_PAYMENTS: Developer provided billing, Japan only (8.3.0+)
BILLING_CHOICE: Google-rendered or developer-rendered billing choice (OpenIAP Spec 2.1.0 / openiap-google 2.3.0; requires Play Billing 9.1.0+)
-
-
-
-