Merge pull request #600 from marco-c/nokia_DeviceControl

Add Nokia-specific DeviceControl class
This commit is contained in:
Myk Melez 2014-11-14 14:37:16 -08:00
Родитель d63d730a10 ea7e02949f
Коммит 2ad1bb3f8c
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");
}
}