-
public final class OpenIapStoreExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static OpenIapStoreOpenIapStore(Context context, AlternativeBillingMode alternativeBillingMode, UserChoiceBillingListener userChoiceBillingListener)Convenience constructor that creates OpenIapModule with alternative billing support final static OpenIapStoreOpenIapStore(Context context, Boolean enableAlternativeBilling)Convenience constructor for backward compatibility -
-
Method Detail
-
OpenIapStore
final static OpenIapStore OpenIapStore(Context context, AlternativeBillingMode alternativeBillingMode, UserChoiceBillingListener userChoiceBillingListener)
Convenience constructor that creates OpenIapModule with alternative billing support
- Parameters:
context- Android contextalternativeBillingMode- Alternative billing mode (default: NONE)userChoiceBillingListener- Listener for user choice billing selection (optional)
-
OpenIapStore
@Deprecated(message = Use constructor with AlternativeBillingMode instead, replaceWith = @ReplaceWith(imports = {}, expression = OpenIapStore(context, if (enableAlternativeBilling) AlternativeBillingMode.ALTERNATIVE_ONLY else AlternativeBillingMode.NONE))) final static OpenIapStore OpenIapStore(Context context, Boolean enableAlternativeBilling)
Convenience constructor for backward compatibility
- Parameters:
context- Android contextenableAlternativeBilling- Enable alternative billing mode (uses ALTERNATIVE_ONLY mode)
-
-
-
-