Android 12 Developer Preview is here! Try it out, and give us your feedback!

UpdateAvailability

public abstract @interface UpdateAvailability
implements Annotation

com.google.android.play.core.install.model.UpdateAvailability


Availability of an update for the requested package.

Summary

Constants

int DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS

An update has been triggered by the developer and is in progress.

int UNKNOWN

int UPDATE_AVAILABLE

int UPDATE_NOT_AVAILABLE

Inherited methods

Constants

DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS

public static final int DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS

An update has been triggered by the developer and is in progress.

Constant Value: 3 (0x00000003)

UNKNOWN

public static final int UNKNOWN

Constant Value: 0 (0x00000000)

UPDATE_AVAILABLE

public static final int UPDATE_AVAILABLE

Constant Value: 2 (0x00000002)

UPDATE_NOT_AVAILABLE

public static final int UPDATE_NOT_AVAILABLE

Constant Value: 1 (0x00000001)