Amazon.Util.Storage.KVStore.Get C# (CSharp) Метод

Get() публичный абстрактный Метод

Gets the value identified by key
public abstract Get ( string key ) : string
key string Identifier
Результат string
        public abstract string Get(string key);
    }

Usage Example

        /// <summary>
        /// Initializes a new instance of the
        /// <see cref="Amazon.MobileAnalytics.MobileAnalyticsManager.Internal.SubmissionTimePolicy"/> class.
        /// </summary>
        /// <param name="WaitInterval">Wait interval.</param>
        public SubmissionTimePolicy (long WaitInterval)
        {
            this.WaitInterval = WaitInterval;
        
            //retrieve the last submitted timestamp from the cache
            _persistStore = new PlayerPreferenceKVStore();

            String TimeStamp = _persistStore.Get(LAST_SUCCESSFUL_DELIVERY_TIME_STAMP_KEY);
            if(TimeStamp != null && TimeStamp.Length > 0)
            {
                this.LastSubmittedTime = long.Parse(TimeStamp);
            }
            else
            {
                this.LastSubmittedTime = 0;
            }
        }
All Usage Examples Of Amazon.Util.Storage.KVStore::Get