Interface IPurchasingService
Declaration
public interface IPurchasingService : IAsyncInitialize
Properties
Ready
Declaration
bool Ready { get; }
Restoring
Declaration
bool Restoring { get; }
Store
Declaration
IapStore Store { get; }
Methods
Initialize()
Declaration
void Initialize()
RequestRestore()
Declaration
void RequestRestore()
RequestPurchase(string, params string[])
Declaration
void RequestPurchase(string productId, params string[] tags)
Parameters
Type | Name |
---|---|
System.String | productId |
System.String[] | tags |
GetProducts(Func<IapProduct, bool>)
Declaration
IEnumerable<IapProduct> GetProducts(Func<IapProduct, bool> filter)
Returns
System.Collections.Generic.IEnumerable<MatchinghamGames.DealerModule.Models.IapProduct>
Parameters
Type | Name |
---|---|
System.Func<MatchinghamGames.DealerModule.Models.IapProduct,System.Boolean> | filter |
GetProduct(string)
Declaration
IapProduct GetProduct(string productId)
Returns
MatchinghamGames.DealerModule.Models.IapProduct
Parameters
Type | Name |
---|---|
System.String | productId |
Events
BusyStateChanged
Declaration
event BusyStateDelegate BusyStateChanged
Event Type
MatchinghamGames.DealerModule.BusyStateDelegate
Purchased
Declaration
event PurchaseSuccessDelegate Purchased
Event Type
MatchinghamGames.DealerModule.PurchaseSuccessDelegate
Failed
Declaration
event PurchaseFailDelegate Failed
Event Type
MatchinghamGames.DealerModule.PurchaseFailDelegate
RestoreSuccess
Declaration
event Action RestoreSuccess
Event Type
System.Action
RestoreFailed
Declaration
event Action RestoreFailed
Event Type
System.Action
Expired
Declaration
event ProductExpireDelegate Expired