public static class RxInApps.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
RxInApps.Builder |
cacheLifetime(long value,
java.util.concurrent.TimeUnit timeUnit)
Lifetime of purchases cache
|
RxInApps.Builder |
licenseKey(java.lang.String licenseKey)
Necessary for simple validation of purchases
|
RxInApps.Builder |
merchantId(java.lang.String merchantId)
Necessary for simple validation of purchases
|
RxInApps.Builder |
parser(Parser parser)
Parser for
SkuDetails and Purchase data models |
RxInApps.Builder |
storage(Storage storage) |
RxInApps.Builder |
timeout(long value,
java.util.concurrent.TimeUnit timeUnit)
Timeout for InAppBillingService initialization
|
public RxInApps.Builder parser(Parser parser)
SkuDetails and Purchase data modelspublic RxInApps.Builder storage(Storage storage)
public RxInApps.Builder licenseKey(java.lang.String licenseKey)
licenseKey - license keypublic RxInApps.Builder merchantId(java.lang.String merchantId)
merchantId - google merchant idpublic RxInApps.Builder timeout(long value, java.util.concurrent.TimeUnit timeUnit)
public RxInApps.Builder cacheLifetime(long value, java.util.concurrent.TimeUnit timeUnit)