public int NumberOfTimesRatingViewWasShown() { return(keyValueStorage.GetInt(ratingViewOutcomeKey, 0)); }
public static int LaunchCount() { return(Storage.GetInt(Key_LaunchCount)); }
public static RatingViewConfiguration ReadStoredRatingViewConfiguration(this IKeyValueStorage keyValueStorage) => new RatingViewConfiguration( keyValueStorage.GetInt(RemoteConfigKeys.RatingViewDelayParameter, 5), (keyValueStorage.GetString(RemoteConfigKeys.RatingViewTriggerParameter) ?? string.Empty).ToRatingViewCriterion());
public void Upsert_Int() { kvs.Upsert(key, 100); Assert.AreEqual(100, kvs.GetInt(key)); }