public abstract class BillingClientBridgeCommon extends GenericBridge implements IBillingClient
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
_billingClientInternalInstance |
protected static java.lang.String |
endConnectionMethodName |
protected static java.lang.String |
isFeatureSupportedMethodName |
protected static java.lang.String |
isReadyMethodName |
protected static java.lang.String |
newBuilderMethodName |
protected static java.lang.String |
queryPurchaseHistoryAsyncMethodName |
protected static java.lang.String |
querySkuDetailsAsyncMethodName |
protected static java.lang.String |
startConnectionMethodName |
| Constructor and Description |
|---|
BillingClientBridgeCommon(java.lang.Object billingClientInternalInstance,
java.util.Map<java.lang.String,java.lang.Class<?>[]> functionAndParameters) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
callNonVoidStaticMethod(java.lang.String methodName,
java.lang.Object... parameters) |
void |
endConnection() |
protected static java.lang.Class<?> |
getClassForBridge() |
protected java.lang.String |
getClassName() |
BillingResultResponseCode |
isFeatureSupported(java.lang.String purchaseType) |
boolean |
isReady() |
void |
queryPurchaseHistoryAsync(java.lang.String skuType,
PurchaseHistoryResponseListenerProxy purchaseHistoryResponseListenerProxy) |
void |
querySkuDetailsAsync(SkuDetailsParamsBridge params,
SkuDetailsResponseListenerProxy skuDetailsResponseListenerProxy) |
void |
startConnection(BillingClientStateListenerProxy billingClientStateListenerProxy) |
callNonVoidMethod, callVoidMethod, classForName, exists, getFunctionMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitqueryPurchasesAsyncprotected static final java.lang.String newBuilderMethodName
protected static final java.lang.String startConnectionMethodName
protected static final java.lang.String endConnectionMethodName
protected static final java.lang.String querySkuDetailsAsyncMethodName
protected static final java.lang.String queryPurchaseHistoryAsyncMethodName
protected static final java.lang.String isFeatureSupportedMethodName
protected static final java.lang.String isReadyMethodName
protected final java.lang.Object _billingClientInternalInstance
public BillingClientBridgeCommon(java.lang.Object billingClientInternalInstance,
java.util.Map<java.lang.String,java.lang.Class<?>[]> functionAndParameters)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionprotected java.lang.String getClassName()
getClassName in class GenericBridgeprotected static java.lang.Class<?> getClassForBridge()
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundExceptionpublic void startConnection(BillingClientStateListenerProxy billingClientStateListenerProxy) throws java.lang.ClassNotFoundException
startConnection in interface IBillingClientjava.lang.ClassNotFoundExceptionpublic void endConnection()
public BillingResultResponseCode isFeatureSupported(java.lang.String purchaseType)
isFeatureSupported in interface IBillingClientpublic boolean isReady()
isReady in interface IBillingClientpublic void querySkuDetailsAsync(SkuDetailsParamsBridge params, SkuDetailsResponseListenerProxy skuDetailsResponseListenerProxy) throws java.lang.ClassNotFoundException
querySkuDetailsAsync in interface IBillingClientjava.lang.ClassNotFoundExceptionpublic void queryPurchaseHistoryAsync(java.lang.String skuType,
PurchaseHistoryResponseListenerProxy purchaseHistoryResponseListenerProxy)
throws java.lang.ClassNotFoundException
queryPurchaseHistoryAsync in interface IBillingClientjava.lang.ClassNotFoundExceptionpublic static java.lang.Object callNonVoidStaticMethod(java.lang.String methodName,
java.lang.Object... parameters)
throws java.lang.ClassNotFoundException,
java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException,
java.lang.NoSuchMethodException
java.lang.ClassNotFoundExceptionjava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionjava.lang.NoSuchMethodException