Package com.iizix.device.settings
Enum Class CommonSettings
- All Implemented Interfaces:
- INativeSetting,- Serializable,- Comparable<CommonSettings>,- Constable
Common native settings for Android and iOS that are potentially openable on the client device using the 
IOpenNativeSettings interface. This interface is retrieved from the client session using IClientSessionGyro.getOpenNativeSettings(). The setting in question is then opened using the interface method IOpenNativeSettings.openNativeSettings(INativeSetting, IOpenSettingSuccess, IOpenSettingFailure).- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionShow screen of details about the application (Android) -- Application Settings (iOS).Show screen for controlling which apps can ignore battery optimizations (Android) -- Show Settings > Battery (iOS).Show screen for configuring biometric based device security (Android) -- Show Settings > Touch ID/Face ID & Passcode (iOS).Show settings to allow configuration of Bluetooth (Anroid) -- Show Settings > Bluetooth (iOS).Show settings to allow configuration of date and time (Android) -- Show Settings > General > Date & Time (iOS).Show settings to configure input methods, in particular allowing the user to enable input methods (Android) -- Show Settings > General > Keyboard (iOS).Show settings to enable/disable input method subtypes (Android) -- Show Settings > General > Keyboard > Keyboards (iOS).Show settings to allow configuration of locale (Android) -- Show Settings > General > Language & Region (iOS).Show settings to allow configuration of current location sources (Android) -- Show Settings > Privacy > Location Services (iOS).Show Settings > Notifications (on both Android and iOS).Show settings for global search (Android) -- show Settings > Siri (iOS).Show system settings (Android) -- show Settings > General (iOS).Show settings to allow configuration of sound and volume (Android) -- show Settings > Sounds (iOS).Open the Play Store page of the current application (Android) -- Show Settings > App Store (iOS).Show settings to allow configuration of Wi-Fi (Android) -- show Settings > Wi-Fi (iOS).
- Field Summary- Fields inherited from interface com.iizix.device.settings.INativeSetting- TYPE_Android, TYPE_BOTH, TYPE_iOS
- Method SummaryModifier and TypeMethodDescriptionGets the internal setting name to use on the native Android client device.Gets the internal setting name to use on the native iOS client device.- int- getType()Checks if the setting is for Android, iOS or both.- toString()The string representation of the enum as- "com.iizix.device.settings.CommonSettings[nativeOp]", where "nativeOp" is a string for the native operation when both Android and iOS use the same value, otherwise the string will be "Android=nativeOp_Android,iOS=nativeOp_iOS".- static CommonSettingsReturns the enum constant of this class with the specified name.- static CommonSettings[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- AppSettingsShow screen of details about the application (Android) -- Application Settings (iOS).
- BatteryShow screen for controlling which apps can ignore battery optimizations (Android) -- Show Settings > Battery (iOS).
- BiometricShow screen for configuring biometric based device security (Android) -- Show Settings > Touch ID/Face ID & Passcode (iOS).
- BluetoothShow settings to allow configuration of Bluetooth (Anroid) -- Show Settings > Bluetooth (iOS).
- DateShow settings to allow configuration of date and time (Android) -- Show Settings > General > Date & Time (iOS).
- KeyboardShow settings to configure input methods, in particular allowing the user to enable input methods (Android) -- Show Settings > General > Keyboard (iOS).
- KeyboardsShow settings to enable/disable input method subtypes (Android) -- Show Settings > General > Keyboard > Keyboards (iOS).
- LocaleShow settings to allow configuration of locale (Android) -- Show Settings > General > Language & Region (iOS).
- LocationsShow settings to allow configuration of current location sources (Android) -- Show Settings > Privacy > Location Services (iOS).
- NotificationsShow Settings > Notifications (on both Android and iOS).
- SearchShow settings for global search (Android) -- show Settings > Siri (iOS).
- SettingsShow system settings (Android) -- show Settings > General (iOS).
- SoundShow settings to allow configuration of sound and volume (Android) -- show Settings > Sounds (iOS).
- StoreOpen the Play Store page of the current application (Android) -- Show Settings > App Store (iOS).
- WiFiShow settings to allow configuration of Wi-Fi (Android) -- show Settings > Wi-Fi (iOS).
 
- 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
 
- getTypepublic int getType()Checks if the setting is for Android, iOS or both.- Specified by:
- getTypein interface- INativeSetting
- Returns:
- The value INativeSetting.TYPE_BOTH.
 
- getNativeOp_AndroidGets the internal setting name to use on the native Android client device.- Specified by:
- getNativeOp_Androidin interface- INativeSetting
- Returns:
- An internal String value that should not be used, nullif not available for the device type.
 
- getNativeOp_iOSGets the internal setting name to use on the native iOS client device.- Specified by:
- getNativeOp_iOSin interface- INativeSetting
- Returns:
- An internal String value that should not be used, nullif not available for the device type.
 
- toStringThe string representation of the enum as- "com.iizix.device.settings.CommonSettings[nativeOp]", where "nativeOp" is a string for the native operation when both Android and iOS use the same value, otherwise the string will be "Android=nativeOp_Android,iOS=nativeOp_iOS".- Overrides:
- toStringin class- Enum<CommonSettings>
- Returns:
- The string formatted as "com.iizix.device.settings.CommonSettings[nativeOp]"when the "nativeOp" for both Android and iOS are the same, otherwise"com.iizix.device.settings.CommonSettings[Android=nativeOp_Android,iOS=nativeOp_iOS]"