diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-07-02 14:38:49 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-07-11 23:21:00 +0200 |
commit | 213c60b76d1c0455a4f95b927514de2ef1388ed5 (patch) | |
tree | 0f260b2db54d57937f1d318ade674dc4750288f0 /libmm-glib/mm-call.c | |
parent | 8bc38110c98566955de89b3af57910cedaedbf68 (diff) |
api,call: new Multiparty boolean property
It will be set to TRUE if this call is part of a multiparty call.
Diffstat (limited to 'libmm-glib/mm-call.c')
-rw-r--r-- | libmm-glib/mm-call.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libmm-glib/mm-call.c b/libmm-glib/mm-call.c index 7800249d..1ee624e2 100644 --- a/libmm-glib/mm-call.c +++ b/libmm-glib/mm-call.c @@ -148,6 +148,24 @@ mm_call_get_direction (MMCall *self) /*****************************************************************************/ /** + * mm_call_get_multiparty: + * @self: A #MMCall. + * + * Gets whether the call is part of a multiparty call. + * + * Returns: %TRUE if the call is part of a multiparty call, %FALSE otherwise.. + */ +gboolean +mm_call_get_multiparty (MMCall *self) +{ + g_return_val_if_fail (MM_IS_CALL (self), FALSE); + + return mm_gdbus_call_get_multiparty (MM_GDBUS_CALL (self)); +} + +/*****************************************************************************/ + +/** * mm_call_get_state: * @self: A #MMCall. * |