Google 致力于为黑人社区推动种族平等。查看具体举措

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 Activity.RESULT_OK and Activity.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

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)

Public constructors

ActivityResult

public ActivityResult ()