UInAppPurchaseComponent::TryGetPurchaseHistoryAsync
This call instigates a purchase history request which is handled on a separate thread. The result of this asynchronous operation is reported back to the calling blueprint via the [FGetPurchaseHistorySuccess](API\Plugins\MagicLeap\UInAppPurchaseComponent\FGetPurchaseHistorySuccess) or [FGetPurchaseHistoryFailure](API\Plugins\MagicLeap\UInAppPurchaseComponent\FGetPurchaseHistoryFailure) event handlers.
Module
|
MagicLeap
|
Header
|
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Public/InAppPurchaseComponent.h
|
Include
|
#include "InAppPurchaseComponent.h"
|
Source
|
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/InAppPurchaseComponent.cpp
|
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="InAppPurchase|MagicLeap")
bool TryGetPurchaseHistoryAsync
(
int32 InNumPages
)
Attempts to retrieve the app's purchase history.
False if a purchase history query is already running or InNumPages is less than or equal to zero, true otherwise.
InNumPages
|
Specifies the number of history pages to retrieve.
|
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.