Stay organized with collections
Save and categorize content based on your preferences.
ActivityResult
public
final
class
ActivityResult
extends Object
Custom Activity results for the in-app update flow.
This is the type of results that you receive in the ERROR(/android.app.Activity#onActivityResult)
callback when starting an activity or an IntentSender
for result.
Values -1 and 0 are reserved for Activity.RESULT_OK
and Activity.RESULT_CANCELED
, so we start our numbering from 1.
Summary
Inherited methods |
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Constants
RESULT_IN_APP_UPDATE_FAILED
public static final int RESULT_IN_APP_UPDATE_FAILED
The operation the activity was created to achieve has failed.
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,["# ActivityResult\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nActivityResult\n==============\n\n\n`\npublic\n\nfinal\n\nclass\nActivityResult\n`\n\n\n`\n\nextends `[Object](https://developer.android.com/reference/java/lang/Object.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|-----------------------------------------------------------|\n| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||\n| ↳ | com.google.android.play.core.install.model.ActivityResult |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nCustom Activity results for the in-app update flow.\n\nThis is the type of results that you receive in the [ERROR(/android.app.Activity#onActivityResult)](../../../../../../../../) callback when starting an activity or an [IntentSender](https://developer.android.com/reference/android/content/IntentSender.html) for result.\n\nValues -1 and 0 are reserved for [Activity.RESULT_OK](https://developer.android.com/reference/android/app/Activity.html#RESULT_OK) and [Activity.RESULT_CANCELED](https://developer.android.com/reference/android/app/Activity.html#RESULT_CANCELED), so we start our numbering from 1.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [RESULT_IN_APP_UPDATE_FAILED](../../../../../../../../reference/com/google/android/play/core/install/model/ActivityResult.html#RESULT_IN_APP_UPDATE_FAILED) The operation the activity was created to achieve has failed. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)` ` |-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` boolean` | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` final `[Class](https://developer.android.com/reference/java/lang/Class.html)`\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` `[String](https://developer.android.com/reference/java/lang/String.html) | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nConstants\n---------\n\n### RESULT_IN_APP_UPDATE_FAILED\n\n```\npublic static final int RESULT_IN_APP_UPDATE_FAILED\n```\n\nThe operation the activity was created to achieve has failed.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)"]]