# ActivityResult

Summary:[Constants](https://developer.android.com/reference/com/google/android/play/core/install/model/ActivityResult#constants)\|[Inherited Methods](https://developer.android.com/reference/com/google/android/play/core/install/model/ActivityResult#inhmethods)  

# ActivityResult

`
public

final

class
ActivityResult
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object.html)`


``


`

|---|-----------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) ||
| ↳ | com.google.android.play.core.install.model.ActivityResult |

<br />

*** ** * ** ***

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)](https://developer.android.com/)callback when starting an activity or an[IntentSender](https://developer.android.com/reference/android/content/IntentSender.html)for result.

Values -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.

## Summary

|                                                                                                             ### Constants                                                                                                              ||
|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [RESULT_IN_APP_UPDATE_FAILED](https://developer.android.com/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. |

| ### Inherited methods |
|-----------------------|---|
| 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)`<?>` | ` 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() `                                                                                 | ||

## 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.

<br />

Constant Value: 1 (0x00000001)