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
CzXomlActions_Market Class Reference

Implements actions that relate to in-app purchasing (the Market) More...

#include <CzActionsMarket.h>

Inheritance diagram for CzXomlActions_Market:
IzXomlAction

List of all members.

Public Types

enum  eActionType { Action_Purchase = 0, Action_Max = 1 }

Public Member Functions

 CzXomlActions_Market (eActionType type)
void Execute (IzXomlResource *source, CzAction *action)
 The main actions executor for market related actions. All market (in-app purchase) specific actions are implemented by this method.

Protected Member Functions

 CzXomlActions_Market ()

Protected Attributes

eActionType Type

Detailed Description

Implements actions that relate to in-app purchasing (the Market)

The CzXomlActions_Market class holds Actions (IzXomlAction) that deal with making in-app purchases such as purchasing a product. A market action is basically a command that causes some kind of interaction with the Market system and / or app store in-app purchasing system.

The following actions are supported:

  • Purchase - Makes an in-app purchase request

The above actions have the following XOML prototypes:

  • Purchase(product-name)
    • product-name - The name of the product as assigned in the Market resource

For more information on the in-app purchasing system see CzMarket


Member Enumeration Documentation

Enumerator:
Action_Purchase 
Action_Max 

Constructor & Destructor Documentation


Member Function Documentation

void CzXomlActions_Market::Execute ( IzXomlResource source,
CzAction action 
) [virtual]

The main actions executor for market related actions. All market (in-app purchase) specific actions are implemented by this method.

Parameters:
[in]source- The source of the action
[in]action- The action to execute

Implements IzXomlAction.


Member Data Documentation


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