InitConnectionConfig class

Connection initialization configuration

Constructors

InitConnectionConfig({AlternativeBillingModeAndroid? alternativeBillingModeAndroid, BillingChoiceScreenTypeAndroid? billingChoiceScreenTypeAndroid = BillingChoiceScreenTypeAndroid.GoogleRendered, BillingProgramAndroid? enableBillingProgramAndroid})
const
InitConnectionConfig.fromJson(Map<String, dynamic> json)
factory

Properties

alternativeBillingModeAndroid → AlternativeBillingModeAndroid?
Alternative billing mode for Android If not specified, defaults to NONE (standard Google Play billing) Use USER_CHOICE_BILLING for user choice billing, EXTERNAL_OFFER for alternative only. @deprecated Use enableBillingProgramAndroid instead. Scheduled for removal in OpenIAP 3.0.
final
billingChoiceScreenTypeAndroid → BillingChoiceScreenTypeAndroid?
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.
final
enableBillingProgramAndroid → BillingProgramAndroid?
Enable a specific billing program for Android (7.0+) When set, enables the specified billing program for external transactions.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited