Provides access to store-specific extended functionality.
Specific extension's interface type can be associated with a specific store type via instantiating IPurchasingModule
's IPurchasingBinder
.
Sample extension:
#pragma strict // Extends an implementing store. public interface ISampleExtension implements IStoreExtension { // Implemented by associated store. function RestoreTransactions(callback: function(boolean): void)}
using System; using UnityEngine.Purchasing;
// Extends an implementing store. public interface ISampleExtension : IStoreExtension { // Implemented by associated store. void RestoreTransactions(Action<bool> callback); }
See Also: IStoreExtension, IPurchasingModule, IPurchasingBinder.
GetExtension | Get the store-specific extension of specified type. |