Package com.iizix.device.settings
Enum Class OpenSettingError
- All Implemented Interfaces:
Serializable
,Comparable<OpenSettingError>
,Constable
Errors that can occur when opening a setting.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionThe open settings can only process one open request at a time, and the initial open settings request has not yet completed.The client session has been disposed of before it could process the open setting request.Failed opening the setting on the device: the app is perhaps not running in the foreground.Method Summary
Modifier and TypeMethodDescriptionstatic OpenSettingError
Returns the enum constant of this class with the specified name.static OpenSettingError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
ERROR
Failed opening the setting on the device: the app is perhaps not running in the foreground.BUSY
The open settings can only process one open request at a time, and the initial open settings request has not yet completed.DISPOSED
The client session has been disposed of before it could process the open setting request.
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null