namespace UnityEngine.Purchasing
{
///
/// The type of Native App store being used.
///
public enum AppStore
{
///
/// No store specified.
///
NotSpecified,
///
/// GooglePlay Store.
///
GooglePlay, //<= Map to AndroidStore. First Android store. In AppStoreMeta.
///
/// Amazon App Store.
///
AmazonAppStore, //
///
/// Unity Distribution Portal, which supports a set of stores internally.
///
UDP, // Last Android store. Also in AppStoreMeta.
///
/// MacOS App Store.
///
MacAppStore,
///
/// iOS or tvOS App Stores.
///
AppleAppStore,
///
/// Universal Windows Platform's store.
///
WinRT,
///
/// A fake store used for testing and Play-In-Editor.
///
fake
}
// Note these must be synchronized with constants in the AndroidStore enum.
///
/// A meta enum to bookend the app Stores for Android. Mapped from AppStore's values.
/// Is distinct from AppStore to avoid non-unique Enum.Parse and Enum.ToString lookup conflicts.
///
public enum AppStoreMeta
{
///
/// The first Android App Store.
///
AndroidStoreStart = AppStore.GooglePlay,
///
/// The last Android App Store.
///
AndroidStoreEnd = AppStore.UDP
}
}