Class AN_BillingClient.Builder
Inheritance
System.Object
AN_BillingClient.Builder
Assembly: cs.temp.dll.dll
Syntax
public class Builder : AN_LinkedObject
Methods
Build()
Declaration
public AN_BillingClient Build()
Returns
EnablePendingPurchases()
Enables pending purchase support.
This method is required to be called to acknowledge your application has been updated to
support purchases that are pending. Pending purchases are not automatically enabled since
your application will require updates to ensure entitlement is not granted before payment has
been secured. For more information on how to handle pending transactions see
https://developer.android.com/google/play/billing/billing_library_overview
If this method is not called, BillingClient instance creation fails.
Declaration
public AN_BillingClient.Builder EnablePendingPurchases()
Returns
SetChildDirected(AN_BillingClient.ChildDirected)
Declaration
public AN_BillingClient.Builder SetChildDirected(AN_BillingClient.ChildDirected childDirected)
Parameters
Returns
SetListener(AN_iPurchasesUpdatedListener)
Specify a valid listener for onPurchasesUpdated event.
Declaration
public AN_BillingClient.Builder SetListener(AN_iPurchasesUpdatedListener listener)
Parameters
Returns
SetUnderAgeOfConsent(AN_BillingClient.UnderAgeOfConsent)
Declaration
public AN_BillingClient.Builder SetUnderAgeOfConsent(AN_BillingClient.UnderAgeOfConsent underAgeOfConsent)
Parameters
Returns