public final class

ConnectionResult

extends Object
java.lang.Object
   ↳ com.amazon.geo.mapsv2.util.ConnectionResult

Class Overview

Error code returned from isAmazonMapsRuntimeAvailable(android.content.Context). Use this to verify the existence of the Amazon Maps API on the device.

Summary

Constants
int API_UNAVAILABLE
int CANCELED
int DATE_INVALID
int DEVELOPER_ERROR
int INTERNAL_ERROR
int INTERRUPTED
int INVALID_ACCOUNT
int LICENSE_CHECK_FAILED
int NETWORK_ERROR
int RESOLUTION_REQUIRED
int SERVICE_DISABLED
int SERVICE_INVALID
int SERVICE_MISSING
int SERVICE_VERSION_UPDATE_REQUIRED
int SIGN_IN_REQUIRED
int SUCCESS
int TIMEOUT
Public Constructors
ConnectionResult(int statusCode, PendingIntent pendingIntent)
Public Methods
int getErrorCode()
PendingIntent getResolution()
boolean hasResolution()
boolean isSuccess()
void startResolutionForResult(Activity activity, int requestCode)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int API_UNAVAILABLE

Constant Value: 16 (0x00000010)

public static final int CANCELED

Constant Value: 13 (0x0000000d)

public static final int DATE_INVALID

Constant Value: 12 (0x0000000c)

public static final int DEVELOPER_ERROR

Constant Value: 10 (0x0000000a)

public static final int INTERNAL_ERROR

Constant Value: 8 (0x00000008)

public static final int INTERRUPTED

Constant Value: 15 (0x0000000f)

public static final int INVALID_ACCOUNT

Constant Value: 5 (0x00000005)

public static final int LICENSE_CHECK_FAILED

Constant Value: 11 (0x0000000b)

public static final int NETWORK_ERROR

Constant Value: 7 (0x00000007)

public static final int RESOLUTION_REQUIRED

Constant Value: 6 (0x00000006)

public static final int SERVICE_DISABLED

Constant Value: 3 (0x00000003)

public static final int SERVICE_INVALID

Constant Value: 9 (0x00000009)

public static final int SERVICE_MISSING

Constant Value: 1 (0x00000001)

public static final int SERVICE_VERSION_UPDATE_REQUIRED

Constant Value: 2 (0x00000002)

public static final int SIGN_IN_REQUIRED

Constant Value: 4 (0x00000004)

public static final int SUCCESS

Constant Value: 0 (0x00000000)

public static final int TIMEOUT

Constant Value: 14 (0x0000000e)

Public Constructors

public ConnectionResult (int statusCode, PendingIntent pendingIntent)

Public Methods

public int getErrorCode ()

public PendingIntent getResolution ()

public boolean hasResolution ()

public boolean isSuccess ()

public void startResolutionForResult (Activity activity, int requestCode)

public String toString ()