Device

object Device
class Object
trait Matchable
class Any
Device.type

Value members

Concrete fields

final val BrightnessDown: "BrightnessDown"

The Brightness Down key. Typically controls the display brightness.

The Brightness Down key. Typically controls the display brightness.

final val BrightnessUp: "BrightnessUp"

The Brightness Up key. Typically controls the display brightness.

The Brightness Up key. Typically controls the display brightness.

final val Camera: "Camera"

The Camera key.

The Camera key.

final val Eject: "Eject"

Toggle removable media to eject (open) and insert (close) state.

Toggle removable media to eject (open) and insert (close) state.

final val Hibernate: "Hibernate"

The Hibernate key. This key saves the current state of the computer to disk so that it can be restored. The computer will then shutdown.

The Hibernate key. This key saves the current state of the computer to disk so that it can be restored. The computer will then shutdown.

final val LogOff: "LogOff"

The LogOff key.

The LogOff key.

final val Power: "Power"

Toggle power state.

Toggle power state.

Note: Some devices might not expose this key to the operating environment.

final val PowerOff: "PowerOff"

The PowerOff key. Sometime called "PowerDown".

The PowerOff key. Sometime called "PowerDown".

final val PrintScreen: "PrintScreen"

The Print Screen (PrintScrn, SnapShot) key, to initiate print-screen function.

The Print Screen (PrintScrn, SnapShot) key, to initiate print-screen function.

final val Standby: "Standby"

The Standby key. This key turns off the display and places the computer into a low-power mode without completely shutting down. It is sometimes called the "Suspend" or "Sleep" key.

The Standby key. This key turns off the display and places the computer into a low-power mode without completely shutting down. It is sometimes called the "Suspend" or "Sleep" key.

final val WakeUp: "WakeUp"

The WakeUp key.

The WakeUp key.