C SDK
|
Data Structures | |
struct | PleyPMKPrice |
struct | PleyPMKProduct |
struct | PleyPMKEntitlement |
struct | PleyPaymentsKit |
Typedefs | |
typedef struct PleyPMKPrice | PleyPMKPrice |
typedef struct PleyPMKProduct | PleyPMKProduct |
typedef struct PleyPMKEntitlement | PleyPMKEntitlement |
typedef void(* | PleyPMKRequestPaymentCB) (PleyResult error, const char *entitlement_id, void *data) |
typedef void(* | PleyPMKGetProductsCB) (PleyResult result, const PleyPMKProduct *products, int32_t products_len, const PleyResult *results, int32_t results_len, void *data) |
typedef void(* | PleyPMKGetEntitlementsCB) (PleyResult result, const PleyPMKEntitlement *entitlements, int32_t entitlements_len, void *data) |
typedef struct PleyPaymentsKit | PleyPaymentsKit |
struct PleyPMKPrice |
struct PleyPMKProduct |
Data Fields | ||
---|---|---|
const char * | id | |
const char * | name | |
PleyPMKPrice | price |
struct PleyPaymentsKit |
Data Fields | |
void(* | get_products )(const char **product_ids, int32_t product_ids_len, PleyPMKGetProductsCB callback, void *callback_data) |
void(* | request_payment )(const char *product_id, PleyPMKRequestPaymentCB callback, void *callback_data) |
void(* | get_entitlements )(PleyPMKGetEntitlementsCB callback, void *callback_data) |
void(* PleyPaymentsKit::get_entitlements) (PleyPMKGetEntitlementsCB callback, void *callback_data) |
PleyPMKGetEntitlementsCB will return with entitlements
set to NULL if no entitlements
void(* PleyPaymentsKit::get_products) (const char **product_ids, int32_t product_ids_len, PleyPMKGetProductsCB callback, void *callback_data) |
result | No specific error PleyPMKGetProductsCB results can contain the following errors: PLEY_RESULT_PMK_PRODUCT_NOT_FOUND |
void(* PleyPaymentsKit::request_payment) (const char *product_id, PleyPMKRequestPaymentCB callback, void *callback_data) |
PleyPMKRequestPaymentCB can be call with the following error: PLEY_RESULT_PMK_PRODUCT_NOT_FOUND, PLEY_RESULT_PMK_PAYMENT_CANCELLED_BY_USER, PLEY_RESULT_PMK_PAYMENT_FAILED
typedef struct PleyPaymentsKit PleyPaymentsKit |
typedef struct PleyPMKEntitlement PleyPMKEntitlement |
typedef void(* PleyPMKGetEntitlementsCB) (PleyResult result, const PleyPMKEntitlement *entitlements, int32_t entitlements_len, void *data) |
typedef void(* PleyPMKGetProductsCB) (PleyResult result, const PleyPMKProduct *products, int32_t products_len, const PleyResult *results, int32_t results_len, void *data) |
typedef struct PleyPMKPrice PleyPMKPrice |
typedef struct PleyPMKProduct PleyPMKProduct |
typedef void(* PleyPMKRequestPaymentCB) (PleyResult error, const char *entitlement_id, void *data) |