Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

ActivityResult

public class ActivityResult
extends Object

java.lang.Object
   ↳ com.google.android.play.core.install.model.ActivityResult


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 RESULT_OK and RESULT_CANCELED, so we start our numbering from 1.

Summary

Constants

int RESULT_IN_APP_UPDATE_FAILED

The operation the activity was created to achieve has failed.

Public constructors

ActivityResult()

Inherited methods

From class java.lang.Object

Constants

RESULT_IN_APP_UPDATE_FAILED

int RESULT_IN_APP_UPDATE_FAILED

The operation the activity was created to achieve has failed.

Constant Value: 1 (0x00000001)

Public constructors

ActivityResult

ActivityResult ()