Deallocate memory before setting new value
[platform/core/uifw/voice-control.git] / tidl / vc_widget.tidl
1 interface vc_widget {
2         void notify_cb(bundle msg) delegate;
3         void register_cb(int pid, notify_cb notify_callback) async;
4
5         int initialize(in int pid, out int service_state, out int daemon_pid);
6         int finalize(in int pid);
7         int start_recording(in int pid, in int command);
8         int start(in int pid, in int silence);
9         int stop(in int pid);
10         int cancel(in int pid);
11         int enable_asr_result(in int pid, in int enable);
12
13         void set_foreground(in int pid, in int value) async;
14 }