OSID Logo
OSID Specifications
control package
Version 3.1.0
Interfaceosid.control.Device
Implementsosid.OsidObject
Used Byosid.control.DeviceAdminSession
osid.control.DeviceList
osid.control.DeviceLookupSession
osid.control.Input
Description

A Device manages a set of Inputs to Controllers.

MethodgetDeviceRecord
Description

Gets the device record corresponding to the given Device record Type.This method is used to retrieve an object implementing the requested record. The deviceRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(deviceRecordType) is true.

Parametersosid.type.TypedeviceRecordType the type of device record to retrieve
Returnosid.control.records.DeviceRecord the device record
ErrorsNULL_ARGUMENT deviceRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(deviceRecordType) is false
Compliancemandatory This method must be implemented.