Skip navigation links
A B C D E F G H I L M O P R S T V W X 

A

API_VERSION - Static variable in class xyz.truenight.rxinapps.util.Constants
 

B

BillingUnavailableException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
BillingUnavailableException() - Constructor for exception xyz.truenight.rxinapps.exception.BillingUnavailableException
 
BINDING_INTENT_VALUE - Static variable in class xyz.truenight.rxinapps.util.Constants
 
Builder(Context) - Constructor for class xyz.truenight.rxinapps.RxInApps.Builder
 
BUY_INTENT - Static variable in class xyz.truenight.rxinapps.util.Constants
 

C

CachedHawkFacade - Class in xyz.truenight.rxinapps.hawk
 
CachedHawkFacade(HawkBuilder) - Constructor for class xyz.truenight.rxinapps.hawk.CachedHawkFacade
 
cacheLifetime(long, TimeUnit) - Method in class xyz.truenight.rxinapps.RxInApps.Builder
Lifetime of purchases cache
Constants - Class in xyz.truenight.rxinapps.util
 
Constants() - Constructor for class xyz.truenight.rxinapps.util.Constants
 
consume(String) - Method in class xyz.truenight.rxinapps.RxInApps
Consume purchased product
ConsumeFailedException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
ConsumeFailedException() - Constructor for exception xyz.truenight.rxinapps.exception.ConsumeFailedException
 
ConsumeFailedException(String) - Constructor for exception xyz.truenight.rxinapps.exception.ConsumeFailedException
 
ConsumeFailedException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.ConsumeFailedException
 
ConsumeFailedException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.ConsumeFailedException
 
contains(String) - Method in class xyz.truenight.rxinapps.hawk.CachedHawkFacade
 
contains(String) - Method in class xyz.truenight.rxinapps.hawk.SharedPreferencesStorage
 
count() - Method in class xyz.truenight.rxinapps.hawk.CachedHawkFacade
 
count() - Method in class xyz.truenight.rxinapps.hawk.SharedPreferencesStorage
 

D

delete(String) - Method in class xyz.truenight.rxinapps.hawk.CachedHawkFacade
 
delete(String) - Method in class xyz.truenight.rxinapps.hawk.SharedPreferencesStorage
 
deleteAll() - Method in class xyz.truenight.rxinapps.hawk.CachedHawkFacade
 
deleteAll() - Method in class xyz.truenight.rxinapps.hawk.SharedPreferencesStorage
 
destroy() - Method in class xyz.truenight.rxinapps.hawk.CachedHawkFacade
 
DETAILS_LIST - Static variable in class xyz.truenight.rxinapps.util.Constants
 
DeveloperErrorException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
DeveloperErrorException() - Constructor for exception xyz.truenight.rxinapps.exception.DeveloperErrorException
 

E

EmptyStorage - Class in xyz.truenight.rxinapps.util
Use this storage to disable caching
EmptyStorage() - Constructor for class xyz.truenight.rxinapps.util.EmptyStorage
 
equals(Object) - Method in class xyz.truenight.rxinapps.model.SkuDetails
 

F

FIELD_DESCRIPTION - Static variable in class xyz.truenight.rxinapps.model.SkuDetails
 
FIELD_DEVELOPER_PAYLOAD - Static variable in class xyz.truenight.rxinapps.model.Purchase
 
FIELD_MODEL_ORDER_ID - Static variable in class xyz.truenight.rxinapps.model.Purchase
 
FIELD_PACKAGE_NAME - Static variable in class xyz.truenight.rxinapps.model.Purchase
 
FIELD_PRICE - Static variable in class xyz.truenight.rxinapps.model.SkuDetails
 
FIELD_PRICE_AMOUNT_MICROS - Static variable in class xyz.truenight.rxinapps.model.SkuDetails
 
FIELD_PRICE_CURRENCY_CODE - Static variable in class xyz.truenight.rxinapps.model.SkuDetails
 
FIELD_PRODUCT_ID - Static variable in class xyz.truenight.rxinapps.model.Purchase
 
FIELD_PRODUCT_ID - Static variable in class xyz.truenight.rxinapps.model.SkuDetails
 
FIELD_PURCHASE_STATE - Static variable in class xyz.truenight.rxinapps.model.Purchase
 
FIELD_PURCHASE_TIME - Static variable in class xyz.truenight.rxinapps.model.Purchase
 
FIELD_PURCHASE_TOKEN - Static variable in class xyz.truenight.rxinapps.model.Purchase
 
FIELD_TITLE - Static variable in class xyz.truenight.rxinapps.model.SkuDetails
 
FIELD_TYPE - Static variable in class xyz.truenight.rxinapps.model.SkuDetails
 
finish() - Method in class xyz.truenight.rxinapps.HiddenActivity
 
fromString(String, Type) - Method in class xyz.truenight.rxinapps.util.GsonParser
 
fromString(String, Type) - Method in interface xyz.truenight.rxinapps.util.Parser
 

G

generatePublicKey(String) - Static method in class xyz.truenight.rxinapps.util.Security
Generates a PublicKey instance from a string containing the Base64-encoded public key.
get(String) - Method in class xyz.truenight.rxinapps.hawk.CachedHawkFacade
 
get(String) - Method in class xyz.truenight.rxinapps.hawk.SharedPreferencesStorage
 
get(String) - Method in class xyz.truenight.rxinapps.util.EmptyStorage
 
get(String) - Method in class xyz.truenight.rxinapps.util.HawkStorage
 
get(String) - Method in interface xyz.truenight.rxinapps.util.Storage
 
getCurrency() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
getDescription() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
getDeveloperPayload() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getLocalizedPrice() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
getOrderId() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getPackageName() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getPriceText() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
getPriceValue() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
getProduct(String) - Method in class xyz.truenight.rxinapps.RxInApps
Emits SkuDetails of managed product for specified product id
getProductId() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getProductId() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
getProducts(List<String>) - Method in class xyz.truenight.rxinapps.RxInApps
Emits list SkuDetails of managed products for specified product ids
getPurchasedProduct(String) - Method in class xyz.truenight.rxinapps.RxInApps
Emits purchased product with specified id OR error if purchase not found
getPurchasedSubscription(String) - Method in class xyz.truenight.rxinapps.RxInApps
Emits purchased subscription with specified id OR error if purchase not found
getPurchaseSignature() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getPurchaseState() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getPurchaseTime() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getPurchaseTimeMillis() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getPurchaseToken() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getRawResponse() - Method in class xyz.truenight.rxinapps.model.Purchase
 
getSubscription(String) - Method in class xyz.truenight.rxinapps.RxInApps
Emits SkuDetails of subscription for specified product id
getSubscriptions(List<String>) - Method in class xyz.truenight.rxinapps.RxInApps
Emits list SkuDetails of subscription for specified product's ids
getTitle() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
getType() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
GsonParser - Class in xyz.truenight.rxinapps.util
 
GsonParser() - Constructor for class xyz.truenight.rxinapps.util.GsonParser
 
GsonParser(Gson) - Constructor for class xyz.truenight.rxinapps.util.GsonParser
 

H

handleActivityResult(int, int, Intent) - Method in class xyz.truenight.rxinapps.HiddenActivity
 
hashCode() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
HawkStorage - Class in xyz.truenight.rxinapps.util
Default storage for cache
HawkStorage(Context, Parser) - Constructor for class xyz.truenight.rxinapps.util.HawkStorage
 
HiddenActivity - Class in xyz.truenight.rxinapps
 
HiddenActivity() - Constructor for class xyz.truenight.rxinapps.HiddenActivity
 

I

INAPP_DATA_SIGNATURE_LIST - Static variable in class xyz.truenight.rxinapps.util.Constants
 
INAPP_PURCHASE_DATA - Static variable in class xyz.truenight.rxinapps.util.Constants
 
INAPP_PURCHASE_DATA_LIST - Static variable in class xyz.truenight.rxinapps.util.Constants
 
InAppBillingException - Exception in xyz.truenight.rxinapps.exception
 
InAppBillingException() - Constructor for exception xyz.truenight.rxinapps.exception.InAppBillingException
 
InAppBillingException(String) - Constructor for exception xyz.truenight.rxinapps.exception.InAppBillingException
 
InAppBillingException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.InAppBillingException
 
InAppBillingException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.InAppBillingException
 
init(RxInApps.Builder) - Static method in class xyz.truenight.rxinapps.RxInApps
 
initialization() - Method in class xyz.truenight.rxinapps.RxInApps
Observable which emits InAppBillingService while this service is bound
InitializationException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
InitializationException() - Constructor for exception xyz.truenight.rxinapps.exception.InitializationException
 
InitializationException(String) - Constructor for exception xyz.truenight.rxinapps.exception.InitializationException
 
InitializationException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.InitializationException
 
InitializationException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.InitializationException
 
isIabServiceAvailable(Context) - Static method in class xyz.truenight.rxinapps.RxInApps
Checks availability of InAppBillingService
isManaged(String) - Static method in class xyz.truenight.rxinapps.model.ProductType
 
isPurchased(String) - Method in class xyz.truenight.rxinapps.RxInApps
Emits whether product with specified id purchased or not
isRestored() - Method in class xyz.truenight.rxinapps.model.Purchase
 
isSubscribed(String) - Method in class xyz.truenight.rxinapps.RxInApps
Emits whether subscription with specified id purchased or not
isSubscription(String) - Static method in class xyz.truenight.rxinapps.model.ProductType
 
isSubscription() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
isValid(Purchase) - Static method in class xyz.truenight.rxinapps.RxInApps
Verifies purchase by license key and merchant id
ItemUnavailableException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
ItemUnavailableException() - Constructor for exception xyz.truenight.rxinapps.exception.ItemUnavailableException
 

L

licenseKey(String) - Method in class xyz.truenight.rxinapps.RxInApps.Builder
Necessary for simple validation of purchases
LoadFailedException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
LoadFailedException() - Constructor for exception xyz.truenight.rxinapps.exception.LoadFailedException
 
LoadFailedException(String) - Constructor for exception xyz.truenight.rxinapps.exception.LoadFailedException
 
LoadFailedException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.LoadFailedException
 
LoadFailedException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.LoadFailedException
 
loadPurchasedProducts() - Method in class xyz.truenight.rxinapps.RxInApps
Simply loads purchased products and emits them
loadPurchasedSubscriptions() - Method in class xyz.truenight.rxinapps.RxInApps
Simply loads purchased subscriptions and emits them

M

MANAGED - Static variable in class xyz.truenight.rxinapps.model.ProductType
 
merchantId(String) - Method in class xyz.truenight.rxinapps.RxInApps.Builder
Necessary for simple validation of purchases
MerchantIdException - Exception in xyz.truenight.rxinapps.exception
 
MerchantIdException() - Constructor for exception xyz.truenight.rxinapps.exception.MerchantIdException
 
MerchantIdException(String) - Constructor for exception xyz.truenight.rxinapps.exception.MerchantIdException
 
MerchantIdException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.MerchantIdException
 
MerchantIdException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.MerchantIdException
 

O

onActivityResult(int, int, Intent) - Method in class xyz.truenight.rxinapps.HiddenActivity
 
onCreate(Bundle) - Method in class xyz.truenight.rxinapps.HiddenActivity
 

P

parser(Parser) - Method in class xyz.truenight.rxinapps.RxInApps.Builder
Parser for SkuDetails and Purchase data models
Parser - Interface in xyz.truenight.rxinapps.util
 
PayloadException - Exception in xyz.truenight.rxinapps.exception
 
PayloadException() - Constructor for exception xyz.truenight.rxinapps.exception.PayloadException
 
PayloadException(String) - Constructor for exception xyz.truenight.rxinapps.exception.PayloadException
 
PayloadException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.PayloadException
 
PayloadException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.PayloadException
 
ProductNotFoundException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
ProductNotFoundException() - Constructor for exception xyz.truenight.rxinapps.exception.ProductNotFoundException
 
ProductNotFoundException(String) - Constructor for exception xyz.truenight.rxinapps.exception.ProductNotFoundException
 
ProductNotFoundException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.ProductNotFoundException
 
ProductNotFoundException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.ProductNotFoundException
 
PRODUCTS_LIST - Static variable in class xyz.truenight.rxinapps.util.Constants
 
ProductType - Class in xyz.truenight.rxinapps.model
 
ProductType.Annotation - Annotation Type in xyz.truenight.rxinapps.model
 
Purchase - Class in xyz.truenight.rxinapps.model
 
Purchase() - Constructor for class xyz.truenight.rxinapps.model.Purchase
 
purchase(String) - Method in class xyz.truenight.rxinapps.RxInApps
Starts purchase managed product flow
PURCHASE_PAYLOAD - Static variable in class xyz.truenight.rxinapps.util.Constants
 
PurchaseCanceledException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
PurchaseCanceledException() - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseCanceledException
 
purchasedProductIds() - Method in class xyz.truenight.rxinapps.RxInApps
Loads or takes from cache purchased product's ids and emits them
purchasedProducts() - Method in class xyz.truenight.rxinapps.RxInApps
Loads or takes from cache purchased products and emits them as List
purchasedProductsMap() - Method in class xyz.truenight.rxinapps.RxInApps
Loads or takes from cache purchased products and maps them by product id
purchasedSubscriptionIds() - Method in class xyz.truenight.rxinapps.RxInApps
Loads or takes from cache purchased subscription's ids and emits them
purchasedSubscriptions() - Method in class xyz.truenight.rxinapps.RxInApps
Loads or takes from cache purchased subscriptions and emits them as List
purchasedSubscriptionsMap() - Method in class xyz.truenight.rxinapps.RxInApps
Loads or takes from cache purchased subscriptions and maps them by product id
PurchaseFailedException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
PurchaseFailedException() - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseFailedException
 
PurchaseFailedException(String) - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseFailedException
 
PurchaseFailedException(int) - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseFailedException
 
PurchaseFailedException(String, int) - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseFailedException
 
PurchaseFailedException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseFailedException
 
PurchaseFailedException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseFailedException
 
PurchaseNotFoundException - Exception in xyz.truenight.rxinapps.exception
Copyright (C) 2017 Mikhail Frolov
PurchaseNotFoundException() - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseNotFoundException
 
PurchaseNotFoundException(String) - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseNotFoundException
 
PurchaseNotFoundException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseNotFoundException
 
PurchaseNotFoundException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.PurchaseNotFoundException
 
put(String, T) - Method in class xyz.truenight.rxinapps.hawk.CachedHawkFacade
 
put(String, T) - Method in class xyz.truenight.rxinapps.hawk.SharedPreferencesStorage
 
put(String, Object) - Method in class xyz.truenight.rxinapps.util.EmptyStorage
 
put(String, Object) - Method in class xyz.truenight.rxinapps.util.HawkStorage
 
put(String, Object) - Method in interface xyz.truenight.rxinapps.util.Storage
 

R

RESPONSE_CODE - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RESPONSE_INAPP_SIGNATURE - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RESULT_BILLING_UNAVAILABLE - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RESULT_DEVELOPER_ERROR - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RESULT_ERROR - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RESULT_ITEM_ALREADY_OWNED - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RESULT_ITEM_NOT_OWNED - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RESULT_ITEM_UNAVAILABLE - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RESULT_OK - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RESULT_USER_CANCELED - Static variable in class xyz.truenight.rxinapps.util.Constants
 
RxInApps - Class in xyz.truenight.rxinapps
 
RxInApps.Builder - Class in xyz.truenight.rxinapps
 

S

Security - Class in xyz.truenight.rxinapps.util
Security-related methods.
Security() - Constructor for class xyz.truenight.rxinapps.util.Security
 
setProductId(String) - Method in class xyz.truenight.rxinapps.model.Purchase
 
setPurchaseSignature(String) - Method in class xyz.truenight.rxinapps.model.Purchase
 
setRawResponse(String) - Method in class xyz.truenight.rxinapps.model.Purchase
 
setRestored(boolean) - Method in class xyz.truenight.rxinapps.model.Purchase
 
SharedPreferencesStorage - Class in xyz.truenight.rxinapps.hawk
 
SharedPreferencesStorage(Context, String) - Constructor for class xyz.truenight.rxinapps.hawk.SharedPreferencesStorage
 
SharedPreferencesStorage(SharedPreferences) - Constructor for class xyz.truenight.rxinapps.hawk.SharedPreferencesStorage
 
SignatureException - Exception in xyz.truenight.rxinapps.exception
 
SignatureException() - Constructor for exception xyz.truenight.rxinapps.exception.SignatureException
 
SignatureException(String) - Constructor for exception xyz.truenight.rxinapps.exception.SignatureException
 
SignatureException(String, Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.SignatureException
 
SignatureException(Throwable) - Constructor for exception xyz.truenight.rxinapps.exception.SignatureException
 
SkuDetails - Class in xyz.truenight.rxinapps.model
 
SkuDetails() - Constructor for class xyz.truenight.rxinapps.model.SkuDetails
 
storage(Storage) - Method in class xyz.truenight.rxinapps.RxInApps.Builder
 
Storage - Interface in xyz.truenight.rxinapps.util
Copyright (C) 2017 Mikhail Frolov
subscribe(String) - Method in class xyz.truenight.rxinapps.RxInApps
Starts purchase subscription flow
SUBSCRIPTION - Static variable in class xyz.truenight.rxinapps.model.ProductType
 

T

TAG - Static variable in class xyz.truenight.rxinapps.RxInApps
 
timeout(long, TimeUnit) - Method in class xyz.truenight.rxinapps.RxInApps.Builder
Timeout for InAppBillingService initialization
toString() - Method in class xyz.truenight.rxinapps.model.Purchase
 
toString() - Method in class xyz.truenight.rxinapps.model.SkuDetails
 
toString(Object) - Method in class xyz.truenight.rxinapps.util.GsonParser
 
toString(Object) - Method in interface xyz.truenight.rxinapps.util.Parser
 

V

VENDING_INTENT_PACKAGE - Static variable in class xyz.truenight.rxinapps.util.Constants
 
verify(PublicKey, String, String) - Static method in class xyz.truenight.rxinapps.util.Security
Verifies that the signature from the server matches the computed signature on the data.
verifyPurchase(String, String, String, String) - Static method in class xyz.truenight.rxinapps.util.Security
Verifies that the data was signed with the given signature, and returns the verified purchase.
VERSION - Static variable in class xyz.truenight.rxinapps.RxInApps
 

W

with(Context) - Static method in class xyz.truenight.rxinapps.RxInApps
 

X

xyz.truenight.rxinapps - package xyz.truenight.rxinapps
 
xyz.truenight.rxinapps.exception - package xyz.truenight.rxinapps.exception
 
xyz.truenight.rxinapps.hawk - package xyz.truenight.rxinapps.hawk
 
xyz.truenight.rxinapps.model - package xyz.truenight.rxinapps.model
 
xyz.truenight.rxinapps.util - package xyz.truenight.rxinapps.util
 
A B C D E F G H I L M O P R S T V W X 
Skip navigation links