No examples for this method.
Frequently called with: [Clear]
-1
java.lang.Object | |
↳ | com.google.android.gms.plus.GooglePlusUtil |
Utility class for verifying that the Google+ app is available and up-to-date on this device.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | APP_DISABLED | Status code indicating the Google+ app is installed, but disabled. | |||||||||
int | APP_MISSING | Status code indicating the Google+ app is not installed. | |||||||||
int | APP_UPDATE_REQUIRED | Status code indicating the Google+ app is installed, but is older than the version required. | |||||||||
String | GOOGLE_PLUS_PACKAGE | The package name of the Google+ Android app. | |||||||||
int | SUCCESS | Status code indicating the Google+ app is installed and up-to-date. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Checks if the version of the Google+ app installed on this device is up-to-date.
|
||||||||||
|
Returns a dialog to address the provided errorCode.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Status code indicating the Google+ app is installed, but disabled.
Status code indicating the Google+ app is not installed.
Status code indicating the Google+ app is installed, but is older than the version required.
The package name of the Google+ Android app.
Status code indicating the Google+ app is installed and up-to-date.
Checks if the version of the Google+ app installed on this device is up-to-date.
context | The context. |
---|
APP_DISABLED
, APP_MISSING
, APP_UPDATE_REQUIRED
, or SUCCESS
Returns a dialog to address the provided errorCode. Upon confirmation, the user is directed to either the Google Play Store or the System App Settings screen to resolve the error.
errorCode | error code returned by checkGooglePlusApp(Context) call. If errorCode is SUCCESS then null is returned. |
---|---|
activity | parent activity for creating the dialog, also used for identifying language to display dialog in. |
requestCode | The requestCode given when calling startActivityForResult(Intent, int) . |