com.amazon.InAppSDK.purchasing
Enum ContentDownloadResponse.ContentDownloadRequestStatus

java.lang.Object
  extended by java.lang.Enum<ContentDownloadResponse.ContentDownloadRequestStatus>
      extended by com.amazon.InAppSDK.purchasing.ContentDownloadResponse.ContentDownloadRequestStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContentDownloadResponse.ContentDownloadRequestStatus>
Enclosing class:
ContentDownloadResponse

public static enum ContentDownloadResponse.ContentDownloadRequestStatus
extends java.lang.Enum<ContentDownloadResponse.ContentDownloadRequestStatus>

Indicates the result of a content download request initiated via PurchasingManager.initiateContentDownloadRequest(String, String).


Enum Constant Summary
Complete
          Indicates that the content download is complete.
Failed
          Indicates that the content download failed and you may retry.
InProgress
          Indicates that the content download is currently in progress.
InvalidLocation
          Indicates that the specified location on the filesystem is either not publicly writable or does not have capacity for the content.
InvalidSku
          Indicates that the provided SKU is not a real vendor SKU or does not have content associated with it.
 
Method Summary
static ContentDownloadResponse.ContentDownloadRequestStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContentDownloadResponse.ContentDownloadRequestStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

InProgress

public static final ContentDownloadResponse.ContentDownloadRequestStatus InProgress
Indicates that the content download is currently in progress.


Complete

public static final ContentDownloadResponse.ContentDownloadRequestStatus Complete
Indicates that the content download is complete.


Failed

public static final ContentDownloadResponse.ContentDownloadRequestStatus Failed
Indicates that the content download failed and you may retry.


InvalidLocation

public static final ContentDownloadResponse.ContentDownloadRequestStatus InvalidLocation
Indicates that the specified location on the filesystem is either not publicly writable or does not have capacity for the content.


InvalidSku

public static final ContentDownloadResponse.ContentDownloadRequestStatus InvalidSku
Indicates that the provided SKU is not a real vendor SKU or does not have content associated with it.

Method Detail

values

public static ContentDownloadResponse.ContentDownloadRequestStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ContentDownloadResponse.ContentDownloadRequestStatus c : ContentDownloadResponse.ContentDownloadRequestStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ContentDownloadResponse.ContentDownloadRequestStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null