C# Class ClanceysLib.InAppPurchaseManager

Inheritance: SKProductsRequestDelegate
ファイルを表示 Open project: Clancey/ClanceyLib Class Usage Examples

Public Properties

Property Type Description
InAppPurchaseManagerProductsFetchedNotification string
InAppPurchaseManagerTransactionFailedNotification string
InAppPurchaseManagerTransactionSucceededNotification string
InAppPurchaseProUpgradeProductId string

Public Methods

Method Description
InAppPurchaseManager ( ) : System
LoadStore ( ) : void
PurchaseProUpgrade ( ) : void
ReceivedResponse ( SKProductsRequest request, SKProductsResponse response ) : void
canMakeProUpgrade ( ) : bool
completeTransaction ( SKPaymentTransaction transaction ) : void
failedTransaction ( SKPaymentTransaction transaction ) : void
finishTransaction ( SKPaymentTransaction transaction, bool wasSuccessful ) : void
provideContent ( string productID ) : void
recordTransaction ( SKPaymentTransaction transaction ) : void
requestProUpgradeProductData ( ) : void
restoreTransaction ( SKPaymentTransaction transaction ) : void

Method Details

InAppPurchaseManager() public method

public InAppPurchaseManager ( ) : System
return System

LoadStore() public method

public LoadStore ( ) : void
return void

PurchaseProUpgrade() public method

public PurchaseProUpgrade ( ) : void
return void

ReceivedResponse() public method

public ReceivedResponse ( SKProductsRequest request, SKProductsResponse response ) : void
request SKProductsRequest
response SKProductsResponse
return void

canMakeProUpgrade() public method

public canMakeProUpgrade ( ) : bool
return bool

completeTransaction() public method

public completeTransaction ( SKPaymentTransaction transaction ) : void
transaction SKPaymentTransaction
return void

failedTransaction() public method

public failedTransaction ( SKPaymentTransaction transaction ) : void
transaction SKPaymentTransaction
return void

finishTransaction() public method

public finishTransaction ( SKPaymentTransaction transaction, bool wasSuccessful ) : void
transaction SKPaymentTransaction
wasSuccessful bool
return void

provideContent() public method

public provideContent ( string productID ) : void
productID string
return void

recordTransaction() public method

public recordTransaction ( SKPaymentTransaction transaction ) : void
transaction SKPaymentTransaction
return void

requestProUpgradeProductData() public method

public requestProUpgradeProductData ( ) : void
return void

restoreTransaction() public method

public restoreTransaction ( SKPaymentTransaction transaction ) : void
transaction SKPaymentTransaction
return void

Property Details

InAppPurchaseManagerProductsFetchedNotification public_oe static_oe property

public static string InAppPurchaseManagerProductsFetchedNotification
return string

InAppPurchaseManagerTransactionFailedNotification public_oe static_oe property

public static string InAppPurchaseManagerTransactionFailedNotification
return string

InAppPurchaseManagerTransactionSucceededNotification public_oe static_oe property

public static string InAppPurchaseManagerTransactionSucceededNotification
return string

InAppPurchaseProUpgradeProductId public_oe static_oe property

public static string InAppPurchaseProUpgradeProductId
return string