PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of inAppProduct variables
  • Functions that use the inAppProduct type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
inAppProduct (Type of variable)
In French: inAppProduit
The inAppProduct type is used to define the advanced characteristics of a product or subscription for an In-App purchase. The characteristics of this product can be defined and modified by several WLanguage properties.
Versions 23 and later
The inAppProduct type can now be used to manage the subscriptions.
New in version 23
The inAppProduct type can now be used to manage the subscriptions.
The inAppProduct type can now be used to manage the subscriptions.
Note: See Declaring a variable for more details.
Example
MyProducts is array of inAppProduct
// Retrieve via inAppProductInfo
// ...
FOR i = 1 _TO_ MyProducts..Occurrence
LooperAddLine(LOOP_Products, MyProducts[i]..Caption, MyProducts[i]..Description)
END
Remarks

Properties specific to the description of inAppProduct variables

The following properties can be used to handle an In-App product or an In-App subscription:
Property nameType usedEffect
DescriptionCharacter stringProduct description.
This property is available in read-only.
IdentifierCharacter string
  • Identifier of product in the store (iTunes Connect or Google Play Store).
  • Versions 23 and later
    Identifier of subscription in the store (iTunes Connect or Google Play Store)
    New in version 23
    Identifier of subscription in the store (iTunes Connect or Google Play Store)
    Identifier of subscription in the store (iTunes Connect or Google Play Store)
Identifier of product or subscription in the store (iTunes Connect or Google Play Store).
This property is available in read-only.
CaptionCharacter string
  • Caption or title of product.
  • Versions 23 and later
    Caption or title of subscription.
    New in version 23
    Caption or title of subscription.
    Caption or title of subscription.
Caption or title of product or subscription.
This property is available in read-only.
PriceCharacter string
  • Price of product in the current currency, formatted by using the mask of the phone.
  • Versions 23 and later
    Price of subscription in the current currency, formatted by using the mask of the phone.
    New in version 23
    Price of subscription in the current currency, formatted by using the mask of the phone.
    Price of subscription in the current currency, formatted by using the mask of the phone.
This property is available in read-only.
Versions 23 and later
Android Type
New in version 23
Android Type
Android Type
Integer constantType of product:
  • inAppSubscription: Subscription.
  • inAppProduct: Consumable and non-consumable product.
This property is available in read-only.

Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the inAppProduct type

The following functions are used to handle the inAppProduct variables:
Versions 19 and later
inAppConsumeProduct
New in version 19
inAppConsumeProduct
inAppConsumeProduct
Used to consume, in an application, a product that was previously purchased by the user.
Versions 19 and later
inAppListProductInfo
New in version 19
inAppListProductInfo
inAppListProductInfo
Retrieves, from the store, information about the "In-App" products associated with the application.
Versions 19 and later
inAppPurchaseProduct
New in version 19
inAppPurchaseProduct
inAppPurchaseProduct
Sends a request for purchasing an "In-App" product associated with the application.
Minimum required version
  • Version 19
Comments
Click [Add] to post a comment