q6meow-output-switcher/src/callaudiod.vala
2024-10-27 20:27:25 +03:00

24 lines
No EOL
648 B
Vala

using GLib;
[DBus(name = "org.mobian_project.CallAudio", timeout = 120000)]
public interface CallAudioD : GLib.Object {
[DBus(name = "SelectMode")]
public abstract bool select_mode(uint mode) throws DBusError, IOError;
[DBus(name = "AudioMode")]
public abstract uint audio_mode { get; }
[DBus(name = "EnableSpeaker")]
public abstract bool enable_speaker(bool enable) throws DBusError, IOError;
[DBus(name = "SpeakerState")]
public abstract uint speaker_state { get; }
[DBus(name = "MuteMic")]
public abstract bool mute_mic(bool mute) throws DBusError, IOError;
[DBus(name = "MicState")]
public abstract uint mic_state { get; }
}