Stay organized with collections
Save and categorize content based on your preferences.
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
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)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# UpdateAvailability\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nUpdateAvailability\n==================\n\n\n`\npublic\n\n\nabstract\n@interface\nUpdateAvailability\n`\n\n\n`\n\n\nimplements\n\n`[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`\n\n\n`\n\n|---------------------------------------------------------------|\n| com.google.android.play.core.install.model.UpdateAvailability |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAvailability of an update for the requested package.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS](../../../../../../../../reference/com/google/android/play/core/install/model/UpdateAvailability.html#DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS) An update has been triggered by the developer and is in progress. |\n| `int` | [UNKNOWN](../../../../../../../../reference/com/google/android/play/core/install/model/UpdateAvailability.html#UNKNOWN) |\n| `int` | [UPDATE_AVAILABLE](../../../../../../../../reference/com/google/android/play/core/install/model/UpdateAvailability.html#UPDATE_AVAILABLE) |\n| `int` | [UPDATE_NOT_AVAILABLE](../../../../../../../../reference/com/google/android/play/core/install/model/UpdateAvailability.html#UPDATE_NOT_AVAILABLE) |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From interface ` `[java.lang.annotation.Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)` ` |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` abstract `[Class](https://developer.android.com/reference/java/lang/Class.html)`\u003c? extends `[Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)`\u003e` | ` annotationType() ` | | ` abstract boolean` | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` abstract int` | ` hashCode() ` | | ` abstract `[String](https://developer.android.com/reference/java/lang/String.html) | ` toString() ` | ||\n\nConstants\n---------\n\n### DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS\n\n```\npublic static final int DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS\n```\n\nAn update has been triggered by the developer and is in progress.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n3\n(0x00000003)\n\n\n### UNKNOWN\n\n```\npublic static final int UNKNOWN\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)\n\n\n### UPDATE_AVAILABLE\n\n```\npublic static final int UPDATE_AVAILABLE\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### UPDATE_NOT_AVAILABLE\n\n```\npublic static final int UPDATE_NOT_AVAILABLE\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)"]]