expireTime property Null safety

int expireTime
final

Gets the time period(seconds) when the user attibutes in the cache expire. If the interval between two calles is less than or equal to the value you set in the parameter, user attributes are obtained directly from the local cache; otherwise, they are obtained from the server. For example, if you set this parameter to 120(2 minutes), once this method is called again within 2 minutes, the SDK returns the attributes obtained last time.

Return The time period(seconds) when the user attibutes in the cache expire.

Implementation

final int expireTime = DateTime.now().millisecondsSinceEpoch;