Skip to main content

Ready to market your stellar app?

Samsung Developer Program is your gateway to app monetization success.

Learn More

Samsung Developer Program

Options Fields

Modifier and Type

Field and Description

public const int

DISCOVER_TIMEOUT_MS

Default timeout (in milliseconds) for discovering all OpenStores on the device.

public const int

INVENTORY_CHECK_TIMEOUT_MS

Timeout (milliseconds) for inventory checking.

public int

discoveryTimeoutMs

Waiting time (milliseconds) to find all OpenStores on the device.

public bool

checkInventory

To check user inventories in every app store to select the proper app store.

public int

checkInventoryTimeoutMs

Waiting time (milliseconds) to check inventories in all stores.

public OptionsVerifyMode

verifyMode 

Check purchases by using the setting VERIFY_SKIP, or let OpenIAB do the checking by setting VERIFY_EVERYTHING or VERIFY_ONLY_KNOWN.

This requires public keys for supported Android stores. The Samsung Galaxy Apps Store does not support this option.

public SearchStrategy

storeSearchStrategy

Search strategy to determine the app store to be used.

Possible values:

  • SEARCH_STRATEGY_INSTALLER — Uses the app store the app was downloaded from, or what app store was specified when sideloading via ADB.
  • SEARCH_STRATEGY_BEST_FIT — Determines the best app store to purchase from by checking past purchases and purchasable items.
  • SEARCH_STRATEGY_INSTALLER_THEN_BEST_FIT — Combines the SEARCH_STRATEGY_INSTALLER and SEARCH_STRATEGY_BEST_FIT options. It chooses SEARCH_STRATEGY_INSTALLER first, and if no installer has been found either due to an unrecognized app store or app sideload, it then uses SEARCH_STRATEGY_BEST_FIT.

public Dictionary<string, string>

storeKeys

Map of app store names and their equivalent public key base 64.

public string[]

preferredStoreNames

Priority list if there are multiple stores installed on the same device that supports billing.

public string[]

availableStoreNames

public int

samsungCertificationRequestCode


  • Was this article helpful?