Version: 2017.1

IExtensionProvider

interface in UnityEngine.Purchasing

Switch to Manual

Description

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:

using System;
using UnityEngine;
using UnityEngine.Purchasing;

// Extends an implementing store. public interface ISampleExtension : IStoreExtension { // Implemented by associated store. void RestoreTransactions(Action<bool> callback); }

Public Functions

GetExtensionGet the store-specific extension of specified type.