GoogleMobileAds.Api.ApplicationPreferences

Interface for accessing and modifying platform preference data (SharedPreferences on Android and NSUserDefaults on iOS).

Summary

Values saved by this interface are saved on an application scope, and are shared by SDKs included in this application.

Public static functions

SetInt(string key, int value)
void
Set an int value in the application preferences.
SetString(string key, string value)
void
Set a string value in the application preferences.

Public static functions

SetInt

void SetInt(
  string key,
  int value
)

Set an int value in the application preferences.

Details
Parameters
key
The key with which to associate the value.
value
The value that needs to be associated to the key.

SetString

void SetString(
  string key,
  string value
)

Set a string value in the application preferences.

Details
Parameters
key
The key with which to associate the value.
value
The value that needs to be associated to the key.