android.os
Interface IHardwareService
- All Superinterfaces:
- IInterface
- All Known Implementing Classes:
- IHardwareService.Stub
public interface IHardwareService
- extends IInterface
vibrate
void vibrate(long milliseconds)
throws RemoteException
- Throws:
RemoteException
vibratePattern
void vibratePattern(long[] pattern,
int repeat,
IBinder token)
throws RemoteException
- Throws:
RemoteException
cancelVibrate
void cancelVibrate()
throws RemoteException
- Throws:
RemoteException
getFlashlightEnabled
boolean getFlashlightEnabled()
throws RemoteException
- Throws:
RemoteException
setFlashlightEnabled
void setFlashlightEnabled(boolean on)
throws RemoteException
- Throws:
RemoteException
enableCameraFlash
void enableCameraFlash(int milliseconds)
throws RemoteException
- Throws:
RemoteException
setScreenBacklight
void setScreenBacklight(int brightness)
throws RemoteException
- Throws:
RemoteException
setKeyboardBacklight
void setKeyboardBacklight(boolean on)
throws RemoteException
- Throws:
RemoteException
setButtonBacklight
void setButtonBacklight(boolean on)
throws RemoteException
- Throws:
RemoteException
setLedState
void setLedState(int colorARGB,
int onMS,
int offMS)
throws RemoteException
- Throws:
RemoteException
Please submit a feedback, bug or feature