Bondi logo

Bondi API Features - Version 1.0

28 May 2009

Authors:

Marcin Hanclik, ACCESS Co., Ltd. <marcin.hanclik@access-company.com>

Abstract

This section lists the API Features exposed by the BONDI API packages. For each API Feature, the Device Capabilities used by the API Feature are listed.

When evaluating a particular access control query against a Security Policy, the Feature name is available in the api-feature resource attribute (together with the Device Capability in the device-cap resource attribute). An Feature name is an IRI; the API features defined here all have the prefix http://bondi.omtp.org/api/.

The Feature identifier is also used in the <feature> element of a Widget Configuration Document.


HTTP://BONDI.OMTP.ORG/API/appconfig
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/appconfig.get Call to AppConfigManager.get
appconfig.get
http://bondi.omtp.org/api/appconfig.set Call to AppConfigManager.set
appconfig.set

HTTP://BONDI.OMTP.ORG/API/applauncher
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/applauncher.launch Call to AppLauncherManager.launchApplication
applauncher.launch

HTTP://BONDI.OMTP.ORG/API/camera
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/camera.get Call to CameraManager.getCameras
camera.get
http://bondi.omtp.org/api/camera.show Call to Camera.startViewFinderStreaming
camera.show
http://bondi.omtp.org/api/camera.hide Call to Camera.stopViewFinderStreaming
camera.hide
http://bondi.omtp.org/api/camera.capture Call to Camera.takePicture
camera.capture
io.file.write
http://bondi.omtp.org/api/camera.record Call to Camera.beginRecording
camera.record
io.file.write

HTTP://BONDI.OMTP.ORG/API/commlog
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/commlog.sms.get Call to CommLogManager.getSMSLog
commlog.call.get

HTTP://BONDI.OMTP.ORG/API/devicestatus
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/devicestatus.get Call to DeviceStatusManager.getPropertyValue
Call to DeviceStatusManager.watchPropertyChange
Call to DeviceStatusManager.clearPropertyChange
devicestatus.get
http://bondi.omtp.org/api/devicestatus.set Call to DeviceStatusManager.setPropertyValue
devicestatus.set
http://bondi.omtp.org/api/devicestatus.list Call to DeviceStatusManager.listVocabularies
Call to DeviceStatusManager.listAspects
Call to DeviceStatusManager.getComponents
Call to DeviceStatusManager.listProperties
devicestatus.set

HTTP://BONDI.OMTP.ORG/API/filesystem
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/filesystem.read Call to FileSystemManager.resolve
Call to FileSystemManager.registerEventListener
Call to File.listFiles
Call to File.open
Call to File.resolve
io.file.read
http://bondi.omtp.org/api/filesystem.write Call to File.open
Call to File.copyTo
Call to File.moveTo
Call to File.createDirectory
Call to File.createFile
Call to File.deleteDirectory
Call to File.deleteFile
io.file.write

HTTP://BONDI.OMTP.ORG/API/geolocation
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/geolocation.position Call to Geolocation.getCurrentPosition
Call to Geolocation.watchPosition
location.position

HTTP://BONDI.OMTP.ORG/API/messaging
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/messaging.email.send Call to MessagingManager.sendEmail
messaging.email.send
http://bondi.omtp.org/api/messaging.mms.send Call to MessagingManager.sendMMS
messaging.mms.send
http://bondi.omtp.org/api/messaging.sms.send Call to MessagingManager.sendSMS
messaging.sms.send
http://bondi.omtp.org/api/messaging.email.getAccounts Call to MessagingManager.getAvailableEmailAccounts
messaging.email.getAccounts
http://bondi.omtp.org/api/messaging.email.attach Call to EmailMessage.appendAttachment
messaging.email.attach
http://bondi.omtp.org/api/messaging.mms.attach Call to MMSMessage.appendAttachment
messaging.mms.attach

HTTP://BONDI.OMTP.ORG/API/gallery
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/gallery.read Call to GalleryManager.getGalleries
Call to Gallery.long getNumberOfMediaItems
Call to Gallery.open
Call to Gallery.refresh
Call to Gallery.changeView
Call to Gallery.getMediaItems
Call to Gallery.getMediaItemById
io.file.read

HTTP://BONDI.OMTP.ORG/API/contact
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/pim.contact.read Call to ContactManager.getAddressBooks
Call to AddressBook.findContacts
pim.contact.read
http://bondi.omtp.org/api/pim.contact.write Call to AddressBook.createContact
Call to AddressBook.addContact
Call to AddressBook.updateContact
Call to AddressBook.deleteContact
Call to AddressBook.deleteAllContacts
pim.contact.write

HTTP://BONDI.OMTP.ORG/API/task
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/pim.task.read Call to TaskManager.getTaskLists
Call to TaskList.findTasks
pim.task.read
http://bondi.omtp.org/api/pim.task.write Call to TaskList.createTask
Call to TaskList.addTask
Call to TaskList.updateTask
Call to TaskList.deleteTask
Call to TaskList.clearTasks
pim.task.write

HTTP://BONDI.OMTP.ORG/API/calendar
BONDI API Feature Meaning USES DEVICE CAPABILITY
http://bondi.omtp.org/api/pim.calendar.read Call to CalendarManager.getCalendars
Call to Calendar.findEvents
pim.event.read
http://bondi.omtp.org/api/pim.calendar.write Call to Calendar.createEvent
Call to Calendar.addEvent
Call to Calendar.updateEvent
Call to Calendar.deleteEvent
Call to Calendar.clearEvents
pim.event.write