Interface
CuiCall
Description [src]
interface Cui.Call : GObject.Object
An interface for phone calls.
Objects implementing the CuiCall
interface can be handled in a
CuiCallDisplay
. CuiCallDisplay
will invoke
this interface’s implementation to accept, hang-up calls. etc.
Prerequisite
In order to implement Call, your type must inherit fromGObject
.
Properties
Cui.Call:active-time
The time in seconds that this call has been active. This corresponds to the time displayed in the call display and it is the responsibility of the implementing class to update this property about once a second.
Cui.Call:display-name
The display name. E.g. the name of the caller instead of the plain phone number.
Interface structure
struct CuiCallInterface {
GTypeInterface parent_iface;
GdkPaintable* (* get_avatar_icon) (
CuiCall* self
);
const char* (* get_display_name) (
CuiCall* self
);
const char* (* get_id) (
CuiCall* self
);
CuiCallState (* get_state) (
CuiCall* self
);
gboolean (* get_encrypted) (
CuiCall* self
);
gboolean (* get_can_dtmf) (
CuiCall* self
);
gdouble (* get_active_time) (
CuiCall* self
);
void (* accept) (
CuiCall* self
);
void (* hang_up) (
CuiCall* self
);
void (* send_dtmf) (
CuiCall* self,
const gchar* dtmf
);
}
No description available.
Interface members
parent_iface |
|
The parent interface. |
|
get_avatar_icon |
|
No description available. | |
get_display_name |
|
No description available. | |
get_id |
|
No description available. | |
get_state |
|
No description available. | |
get_encrypted |
|
No description available. | |
get_can_dtmf |
|
No description available. | |
get_active_time |
|
No description available. | |
accept |
|
No description available. | |
hang_up |
|
No description available. | |
send_dtmf |
|
No description available. |