API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_IAP_GetProductsBySKU Function

Retrieve a list of IAP products that can be purchased. ovrMessage_IAP_GetProductsBySKU will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrProductArrayHandle. Extract the payload from the message handle with ovr_Message_GetProductArray().

Signature

ovrRequest ovr_IAP_GetProductsBySKU(const char **skus, int count)

Parameters

skus: const char ** The SKUs of the products to retrieve.
count: int Number of items you provided in the SKUs.

Returns