org.mobian_project.CallAudio

org.mobian_project.CallAudio

Methods

SelectMode    (IN  u mode,
               OUT b success);
EnableSpeaker (IN  b enable,
               OUT b success);
MuteMic       (IN  b mute,
               OUT b success);

Properties

AudioMode     readable   u
SpeakerState  readable   u
MicState      readable   u

Description

Method Details

The SelectMode() method

SelectMode (IN  u mode,
            OUT b success);

Sets the audio routing configuration according to the mode parameter.

If mode isn't an authorized value, #org.freedesktop.DBus.Error.InvalidArgs error is returned.

IN u mode:

0 = default audio mode, 1 = voice call mode

OUT b success:

operation status


The EnableSpeaker() method

EnableSpeaker (IN  b enable,
               OUT b success);

IN b enable:

OUT b success:


The MuteMic() method

MuteMic (IN  b mute,
         OUT b success);

IN b mute:

OUT b success:

Property Details

The "AudioMode" property

AudioMode  readable   u

0 = default audio mode, 1 = voice call mode, 255 = unknown


The "SpeakerState" property

SpeakerState  readable   u

0 = off, 1 = on, 255 = unknown all other values should be considered the same as 'unknown'


The "MicState" property

MicState  readable   u

0 = off, 1 = on, 255 = unknown all other values should be considered the same as 'unknown'