AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzPlatformMarketiOS Class Reference

#include <CzPlatformMarket.h>

Inheritance diagram for CzPlatformMarketiOS:
IzPlatformMarket IzPlatformMarket

List of all members.

Public Member Functions

int Init (void *id)
 Market intialisation.
void Release ()
 Market cleanup.
void Update ()
 Per frame update.
bool QueryProduct (const char *product_id)
 Query product information.
bool PurchaseProduct (const char *product_id)
 Purchase a product.
bool RestoreProducts ()
 Restore previously purchased products.
void StopProductinfo ()
void GetReceipt ()
void ReleaseReceipt ()
void ReleasePayment ()
void ReleaseProductInfo ()
int Init (void *id)
 Market intialisation.
void Release ()
 Market cleanup.
void Update ()
 Per frame update.
bool QueryProduct (const char *product_id)
 Query product information.
bool PurchaseProduct (const char *product_id)
 Purchase a product.
bool RestoreProducts ()
 Restore previously purchased products.
void StopProductinfo ()
void GetReceipt ()
void ReleaseReceipt ()
void ReleasePayment ()
void ReleaseProductInfo ()

Static Public Member Functions

static void TransactionUpdateCallback (s3ePaymentTransaction *transaction, void *userData)
static void ProductInfoCallback (s3eProductInformation *productInfo, void *userData)
static void TransactionUpdateCallback (s3ePaymentTransaction *transaction, void *userData)
static void ProductInfoCallback (s3eProductInformation *productInfo, void *userData)

Protected Member Functions

s3ePaymentRequest * getPaymentRequest ()
void setTransactionReceipt (void *receipt_data, uint receipt_size)
s3eTransactionReceipt * getTransactionReceipt ()
void setProductInformation (s3eProductInformation *info)
s3eProductInformation * getProductInformation ()
void setPaymentTransaction (s3ePaymentTransaction *trans)
s3ePaymentTransaction * getPaymentTransaction ()
bool isBillingEnabled ()
 Returns true if billing enabled on device.
s3ePaymentRequest * getPaymentRequest ()
void setTransactionReceipt (void *receipt_data, uint receipt_size)
s3eTransactionReceipt * getTransactionReceipt ()
void setProductInformation (s3eProductInformation *info)
s3eProductInformation * getProductInformation ()
void setPaymentTransaction (s3ePaymentTransaction *trans)
s3ePaymentTransaction * getPaymentTransaction ()
bool isBillingEnabled ()
 Returns true if billing enabled on device.

Protected Attributes

s3ePaymentRequest PaymentRequest
s3eTransactionReceipt TransactionReceipt
s3eProductInformation * ProductInformation
s3ePaymentTransaction * PaymentTransaction

Member Function Documentation

s3ePaymentRequest * CzPlatformMarketiOS::getPaymentRequest ( ) [protected]
s3ePaymentRequest* CzPlatformMarketiOS::getPaymentRequest ( ) [protected]
s3ePaymentTransaction * CzPlatformMarketiOS::getPaymentTransaction ( ) [protected]
s3ePaymentTransaction* CzPlatformMarketiOS::getPaymentTransaction ( ) [protected]
s3eProductInformation * CzPlatformMarketiOS::getProductInformation ( ) [protected]
s3eProductInformation* CzPlatformMarketiOS::getProductInformation ( ) [protected]
s3eTransactionReceipt* CzPlatformMarketiOS::getTransactionReceipt ( ) [protected]
s3eTransactionReceipt * CzPlatformMarketiOS::getTransactionReceipt ( ) [protected]
int CzPlatformMarketiOS::Init ( void *  id) [virtual]

Market intialisation.

Implements IzPlatformMarket.

int CzPlatformMarketiOS::Init ( void *  id) [virtual]

Market intialisation.

Implements IzPlatformMarket.

bool CzPlatformMarketiOS::isBillingEnabled ( ) [protected, virtual]

Returns true if billing enabled on device.

Implements IzPlatformMarket.

bool CzPlatformMarketiOS::isBillingEnabled ( ) [protected, virtual]

Returns true if billing enabled on device.

Implements IzPlatformMarket.

void CzPlatformMarketiOS::ProductInfoCallback ( s3eProductInformation *  productInfo,
void *  userData 
) [static]
static void CzPlatformMarketiOS::ProductInfoCallback ( s3eProductInformation *  productInfo,
void *  userData 
) [static]
bool CzPlatformMarketiOS::PurchaseProduct ( const char *  product_id) [virtual]

Purchase a product.

Implements IzPlatformMarket.

bool CzPlatformMarketiOS::PurchaseProduct ( const char *  product_id) [virtual]

Purchase a product.

Implements IzPlatformMarket.

bool CzPlatformMarketiOS::QueryProduct ( const char *  product_id) [virtual]

Query product information.

Implements IzPlatformMarket.

bool CzPlatformMarketiOS::QueryProduct ( const char *  product_id) [virtual]

Query product information.

Implements IzPlatformMarket.

void CzPlatformMarketiOS::Release ( ) [virtual]

Market cleanup.

Implements IzPlatformMarket.

void CzPlatformMarketiOS::Release ( ) [virtual]

Market cleanup.

Implements IzPlatformMarket.

Restore previously purchased products.

Implements IzPlatformMarket.

Restore previously purchased products.

Implements IzPlatformMarket.

void CzPlatformMarketiOS::setPaymentTransaction ( s3ePaymentTransaction *  trans) [protected]
void CzPlatformMarketiOS::setPaymentTransaction ( s3ePaymentTransaction *  trans) [protected]
void CzPlatformMarketiOS::setProductInformation ( s3eProductInformation *  info) [protected]
void CzPlatformMarketiOS::setProductInformation ( s3eProductInformation *  info) [protected]
void CzPlatformMarketiOS::setTransactionReceipt ( void *  receipt_data,
uint  receipt_size 
) [protected]
void CzPlatformMarketiOS::setTransactionReceipt ( void *  receipt_data,
uint  receipt_size 
) [protected]
void CzPlatformMarketiOS::TransactionUpdateCallback ( s3ePaymentTransaction *  transaction,
void *  userData 
) [static]
static void CzPlatformMarketiOS::TransactionUpdateCallback ( s3ePaymentTransaction *  transaction,
void *  userData 
) [static]
void CzPlatformMarketiOS::Update ( ) [virtual]

Per frame update.

Implements IzPlatformMarket.

void CzPlatformMarketiOS::Update ( ) [virtual]

Per frame update.

Implements IzPlatformMarket.


Member Data Documentation

s3ePaymentRequest CzPlatformMarketiOS::PaymentRequest [protected]
s3ePaymentTransaction * CzPlatformMarketiOS::PaymentTransaction [protected]
s3eProductInformation * CzPlatformMarketiOS::ProductInformation [protected]
s3eTransactionReceipt CzPlatformMarketiOS::TransactionReceipt [protected]

The documentation for this class was generated from the following files: