kAnyRemote
Prev
Next

kAnyRemote and DCOP

kAnyRemote supports DCOP, so it is possible to manage it from command line.

For example:

Establish connection:

    dcop kanyremote serviceInterface Connect
    

Verify is connection active:

    dcop kanyremote serviceInterface isConnected
    

Close connection:

    dcop kanyremote serviceInterface Disconnect
    

Set configurational file (kAnyRemote will close current connection if device setting is changed):

    dcop kanyremote serviceInterface setCfgFile "file name"
    

Switch remote control functionality on/off:

    dcop kanyremote serviceInterface remoteOn true/false
    

Get current mode:

    dcop kanyremote serviceInterface getMode
    

Set mode:

    dcop kanyremote serviceInterface setMode new_mode_name
    

Send command to JSR82 Java Client (an example):

    dcop kanyremote serviceInterface sendCommand 'Set(fullscreen,on);'
    

Prev
Next
Home