unreal.InAppPurchaseRestoreCallbackProxy

class unreal.InAppPurchaseRestoreCallbackProxy(outer=None, name='None')

Bases: unreal.Object

In App Purchase Restore Callback Proxy

C++ Source:

  • Plugin: OnlineSubsystemUtils
  • Module: OnlineSubsystemUtils
  • File: InAppPurchaseRestoreCallbackProxy.h

Editor Properties: (see get_editor_property/set_editor_property)

  • on_failure (InAppPurchaseRestoreResult): [Read-Write] Called when there is an unsuccessful In-App Purchase transaction
  • on_success (InAppPurchaseRestoreResult): [Read-Write] Called when there is a successful In-App Purchase transaction
classmethod create_proxy_object_for_in_app_purchase_restore(consumable_product_flags, player_controller) → InAppPurchaseRestoreCallbackProxy

Kicks off a transaction for the provided product identifier

Parameters:
Returns:

Return type:

InAppPurchaseRestoreCallbackProxy

on_failure

(InAppPurchaseRestoreResult) – [Read-Write] Called when there is an unsuccessful In-App Purchase transaction

on_success

(InAppPurchaseRestoreResult) – [Read-Write] Called when there is a successful In-App Purchase transaction