public enum AntFsRequestStatus extends java.lang.Enum<AntFsRequestStatus>
Enum Constant and Description |
---|
FAIL_ALREADY_BUSY_EXTERNAL
The request was not processed because the device is already processing a request from another PCC.
|
FAIL_AUTHENTICATION_REJECTED
The device rejected the session from authenticating.
|
FAIL_BAD_PARAMS
The request was not processed because a parameter was missing or an invalid value was passed.
|
FAIL_CANCELLED
The request was cancelled.
|
FAIL_DEVICE_COMMUNICATION_FAILURE
The request did not finish processing because there was a failure communicating with the device during its execution.
|
FAIL_DEVICE_TRANSMISSION_LOST
The request did not finish processing because there was a failure communicating with the device during its execution.
|
FAIL_NO_PERMISSION
The request was not processed because a permission check failed.
|
FAIL_NOT_SUPPORTED
The request was recognized but is not supported by the target
|
FAIL_OTHER
The request failed for an unknown reason.
|
FAIL_PARTIAL_DOWNLOAD
The request downloaded some data, but failed before all data was downloaded.
|
FAIL_PLUGINS_SERVICE_VERSION
This request is not available on the currently installed version of the ANT+ Plugins Service.
|
SUCCESS
The request was successful.
|
UNRECOGNIZED
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntFsRequestStatus |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntFsRequestStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntFsRequestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntFsRequestStatus SUCCESS
public static final AntFsRequestStatus FAIL_CANCELLED
public static final AntFsRequestStatus UNRECOGNIZED
public static final AntFsRequestStatus FAIL_OTHER
public static final AntFsRequestStatus FAIL_ALREADY_BUSY_EXTERNAL
DeviceState.PROCESSING_REQUEST
(busy) and
DeviceState.TRACKING
(idle)
on your AntPluginPcc.IDeviceStateChangeReceiver
to know when to submit your request or try to submit your request again.public static final AntFsRequestStatus FAIL_DEVICE_COMMUNICATION_FAILURE
public static final AntFsRequestStatus FAIL_DEVICE_TRANSMISSION_LOST
public static final AntFsRequestStatus FAIL_BAD_PARAMS
public static final AntFsRequestStatus FAIL_NO_PERMISSION
public static final AntFsRequestStatus FAIL_NOT_SUPPORTED
public static final AntFsRequestStatus FAIL_PLUGINS_SERVICE_VERSION
public static final AntFsRequestStatus FAIL_PARTIAL_DOWNLOAD
public static final AntFsRequestStatus FAIL_AUTHENTICATION_REJECTED
public static AntFsRequestStatus[] values()
for (AntFsRequestStatus c : AntFsRequestStatus.values()) System.out.println(c);
public static AntFsRequestStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
public static AntFsRequestStatus getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.