Oracle Java ME Embedded

Package com.oracle.deviceaccess

Provides interfaces and classes for device I/O access and control.

See: Description

Package com.oracle.deviceaccess Description

Provides interfaces and classes for device I/O access and control. Peripheral devices are of defined types and can be accessed and control by the means of Peripheral sub-interfaces. Peripheral devices are registered under a peripheral ID and with optionally a name and a set of properties.

Security

Peripheral devices are opened by invoking one of the com.oracle.deviceaccess.PeripheralManager.open methods. Opening a peripheral device of a specific type is subject to permission checks specific for that type - see each peripheral device package overview for a description of the security permissions that may apply (e.g. GPIO permissions).
Peripheral devices are registered, un-registered, configured and listed by invoking one of the open, register, unregister and list methods of PeripheralManager. The permissions below allow access to be granted for registration, configuration, un-registration and listing of peripheral devices. Note that these permissions must be granted in addition to the permissions granting access to a specific peripheral type. For example, opening a GPIO pin with an ad-hoc configuration requires both the "com.oracle.deviceaccess.gpio" and "com.oracle.deviceaccess.PeripheralManager.configure" to be granted. Similarly, registering a GPIO pin with an ad-hoc configuration requires both the "com.oracle.deviceaccess.gpio" and "com.oracle.deviceaccess.PeripheralManager.register" to be granted.
Permission Function
"com.oracle.deviceaccess.PeripheralManager.configure" Ad-hoc configuration of peripheral devices
"com.oracle.deviceaccess.PeripheralManager.register" Registration of peripheral devices
"com.oracle.deviceaccess.PeripheralManager.unregister" Unregistration of peripheral devices
"com.oracle.deviceaccess.PeripheralManager.list" Listing of registered peripheral devices
Oracle Java ME Embedded

Copyright (c) 1990, 2013, Oracle and/or its affiliates. All rights reserved.