newestVersionCode property

int? newestVersionCode
final

The highest versionCode any release on this track serves, or null when the track is empty.

Highest rather than first: a track can carry more than one release at a time — a halted rollout sits alongside the one that replaced it — and Play promises no order, so "the first release listed" is not a fact about which build is on the track.

Implementation

final int? newestVersionCode;