Class FakeSamsungAppsExtensions
Mock implementation for Samsung interfaces for stub and test purposes.
Namespace: UnityEngine.Purchasing
Syntax
public class FakeSamsungAppsExtensions : ISamsungAppsExtensions, IStoreExtension, ISamsungAppsConfiguration, IStoreConfiguration
Methods
RestoreTransactions(Action<Boolean>)
Restores previously purchased transactions.
Declaration
public void RestoreTransactions(Action<bool> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<Boolean> | callback | The callback received after restoring transactions. |
Implements
SetMode(SamsungAppsMode)
Sets the purchase mode for testing or shipping Samsung Apps.
Declaration
public void SetMode(SamsungAppsMode mode)
Parameters
Type | Name | Description |
---|---|---|
SamsungAppsMode | mode | The way in which store purchases will behave. See |