Add Nokia-specific DeviceControl class

This commit is contained in:
Marco Castelluccio 2014-11-14 22:29:23 +01:00
Родитель 8aa09356b3
Коммит ea7e02949f
1 изменённых файлов: 32 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,32 @@
package com.nokia.mid.ui;
public class DeviceControl {
public static final int KEYMAT_ALPHANUMERIC = 2;
public static final int KEYMAT_DEFAULT = 0;
public static final int KEYMAT_NUMERIC = 1;
public static final int KEYMAT_OFF = 3;
public static void setLights(int num, int level) {
throw new RuntimeException("DeviceControl::setLights(int,int) not implemented");
}
public static void flashLights(long duration) {
throw new RuntimeException("DeviceControl::flashLights(long) not implemented");
}
public static void startVibra(int freq, long duration) {
System.out.println("DeviceControl::startVibra(int,long) not implemented");
}
public static void stopVibra() {
System.out.println("DeviceControl::stopVibra() not implemented");
}
public static int getUserInactivityTime() {
throw new RuntimeException("DeviceControl::getUserInactivityTime() not implemented");
}
public static void resetUserInactivityTime() {
throw new RuntimeException("DeviceControl::resetUserInactivityTime() not implemented");
}
}