public class AdvancedKeyboard.Configuration
extends java.lang.Object
getConfiguration
method and modified back using the
setConfiguration method.| Modifier and Type | Method and Description |
|---|---|
int |
getBacklightBrightness()
Gets the keyboard backlight brightness.
|
int |
getBacklightTimeout()
Gets the keyboard backlight timeout in milliseconds.
|
AdvancedKeyboard.LayoutNotificationType |
getLayoutNotificationType()
Gets the layout notification type.
|
int |
getMultitapDelay()
Gets the keyboard multitap delay used to define after how much time
from the first multitap key press the associated character will be
submitted to the UI.
|
boolean |
isBacklightControlEnabled()
Checks if the keyboard backlight control is enabled.
|
boolean |
isBacklightNotificationEnabled()
Checks if the backlight notification is enabled.
|
boolean |
isMultitapNotificationEnabled()
Checks if the multitap notification is enabled.
|
void |
setBacklightBrightness(int backlightBrightness)
Sets the keyboard backlight brightness.
|
void |
setBacklightControlEnabled(boolean backlightControlEnabled)
Sets the parameter to enable or disable the keyboard backlight control.
|
void |
setBacklightNotificationEnabled(boolean backlightNotificationEnabled)
Enables or disables the backlight notification.
|
void |
setBacklightTimeout(int backlightTimeout)
Sets the keyboard backlight inactivity timeout.
|
void |
setLayoutNotificationType(AdvancedKeyboard.LayoutNotificationType layoutNotificationType)
Sets the layout notification type.
|
void |
setMultitapDelay(int multitapDelay)
Sets the keyboard multitap delay used to define after how much time
from the first multitap key press the associated character will be
submitted to the UI.
|
void |
setMultitapNotificationEnabled(boolean multitapNotificationEnabled)
Enables or disables the multitap notification.
|
public int getMultitapDelay()
public AdvancedKeyboard.LayoutNotificationType getLayoutNotificationType()
public boolean isBacklightControlEnabled()
public int getBacklightBrightness()
public int getBacklightTimeout()
public boolean isMultitapNotificationEnabled()
public boolean isBacklightNotificationEnabled()
public void setMultitapDelay(int multitapDelay)
multitapDelay - The keyboard multitap delay to set (in milliseconds). It must
be more than 0.public void setLayoutNotificationType(AdvancedKeyboard.LayoutNotificationType layoutNotificationType)
layoutNotificationType - The layout notification type to set.public void setBacklightControlEnabled(boolean backlightControlEnabled)
backlightControlEnabled - True to enable the backlight control, false to disable it.public void setBacklightBrightness(int backlightBrightness)
backlightBrightness - The backlight brightness (in the range 0-100).public void setBacklightTimeout(int backlightTimeout)
backlightTimeout - The backlight timeout.public void setMultitapNotificationEnabled(boolean multitapNotificationEnabled)
multitapNotificationEnabled - True to enable the multitap notification, false to disable it.public void setBacklightNotificationEnabled(boolean backlightNotificationEnabled)
backlightNotificationEnabled - True to enable the backlight notification, false to disable it.