public enum BundleRefreshError extends Enum<BundleRefreshError>
| Enum Constant and Description |
|---|
DOWNLOAD_TIMEOUT
The download from the URL timed out.
|
INVALID_BUNDLE_FORMAT
The bundle is either corrupt or in an unrecognized format.
|
INVALID_SIGNING_CERT
The signing certificate specified is not a valid certificate.
|
NOT_FOUND
The bundle was not found at the URL specified.
|
SUCCESS
Successful update.
|
UNMATCHED_SIGNATURE
The signature on the signed bundle did not validate successfully against the signing certificate.
|
| Modifier and Type | Method and Description |
|---|---|
static BundleRefreshError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BundleRefreshError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BundleRefreshError SUCCESS
public static final BundleRefreshError NOT_FOUND
public static final BundleRefreshError DOWNLOAD_TIMEOUT
public static final BundleRefreshError INVALID_BUNDLE_FORMAT
public static final BundleRefreshError INVALID_SIGNING_CERT
public static final BundleRefreshError UNMATCHED_SIGNATURE
public static BundleRefreshError[] values()
for (BundleRefreshError c : BundleRefreshError.values()) System.out.println(c);
public static BundleRefreshError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.