Beamable SDK
Public Member Functions | Public Attributes | List of all members
Beamable.Common.Api.UserDataCache< T >.UserDataCacheEntry Class Reference

Public Member Functions

 UserDataCacheEntry (T data)
 
bool IsExpired (long ttlMs)
 Checks if the entry in the user data cache has outlived a given time-to-live. More...
 

Public Attributes

data
 

Member Function Documentation

◆ IsExpired()

bool Beamable.Common.Api.UserDataCache< T >.UserDataCacheEntry.IsExpired ( long  ttlMs)
inline

Checks if the entry in the user data cache has outlived a given time-to-live.

Parameters
ttlMsA time-to-live in milliseconds
Returns
true if the cacheTime is older than the given ttlMs, false otherwise

The documentation for this class was generated from the following file: