1#ifndef __RADM_DEVICE_IDL__
2#define __RADM_DEVICE_IDL__
4#include <UserEvent.idl>
8 constant
int ERR_INVALID_ARGUMENT = 1;
9 constant
int ERR_NOT_SUPPORTED = 2;
Metadata getMetadata()
Get device meta data.
@ UNKNOWN
Device state was not yet determined.
@ INACTIVE
Device is inactive / not connected.
@ ACTIVE
Device is active / connected.
State getState()
Get device state.
string getName()
Get device name.
int setName(in string name)
Set device name.
Common base for all events.
Event: The device name has changed.
string oldName
Name before change.
string newName
Name after change.
Event: The device state has changed.
State newState
State after change.
State oldState
State before change.