Package com.iizix.prop
Enum Class EnvProps.ClientCapability
- All Implemented Interfaces:
- Serializable,- Comparable<EnvProps.ClientCapability>,- Constable
- Enclosing class:
- EnvProps
Capabilities of a Client.
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionBattery status capabilities.Camera capabilities.Compass capabilities.Contacts database capabilities.GPS capabilities.GPS capabilities.Microphone (sound capture) capabilities.Motion capabilities (accelerometer).Mouse capabilities.Pen capabilities.Phone capabilities.Play music or basic sounds capabilities.Speech synthesis (speech output).Speech synthesis (speech output).Touch capabilities.Vibration capabilities.Video capture capabilities.
- Field SummaryFields
- Method SummaryModifier and TypeMethodDescription- final StringGets the English description.- final StringGets the localized description.- final boolean- isSupported- (EnvProps env) Returns if supported.- static EnvProps.ClientCapabilityReturns the enum constant of this class with the specified name.- static EnvProps.ClientCapability[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- PhonePhone capabilities.
- BatteryBattery status capabilities.
- ContactsContacts database capabilities.
- CompassCompass capabilities.
- CameraCamera capabilities.
- GeolocationGPS capabilities.
- GPSGPS capabilities.
- TouchTouch capabilities.
- MouseMouse capabilities.
- PenPen capabilities.
- MotionMotion capabilities (accelerometer).
- MicrophoneMicrophone (sound capture) capabilities.
- VideoCaptureVideo capture capabilities.
- SoundPlay music or basic sounds capabilities.
- SpeechSynthesisSpeech synthesis (speech output).
- SpeechRecognitionSpeech synthesis (speech output).
- VibrationVibration capabilities.
 
- Field Details- textIDLocale text ID:- "devcap." + {@link #name()}.
- descriptionThe English description.
 
- Method Details- valuesReturns 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
 
- valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- getEnglishDescriptionGets the English description.- Returns:
- The English description.
 
- getLocalizedDescriptionGets the localized description.- Returns:
- The localized description, if any, otherwise the English description.
 
- isSupportedReturns if supported.- Parameters:
- env- The environment instance.
- Returns:
- The supported flag. In case of exception, these are logged as warnings and falseis returned.