getLatestUpdateTimestamp

abstract suspend fun getLatestUpdateTimestamp(userId: String): Long?

Gets the most recent lastUpdated timestamp for a specific user's jetpacks. This can be used as a reference point for fetching only newer items from remote.

Return

The most recent lastUpdated timestamp for that user's jetpacks, or 0 if no jetpacks exist.

Parameters

userId

The ID of the user whose jetpacks to check.