From 213c60b76d1c0455a4f95b927514de2ef1388ed5 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 2 Jul 2019 14:38:49 +0200 Subject: api,call: new Multiparty boolean property It will be set to TRUE if this call is part of a multiparty call. --- libmm-glib/mm-call.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'libmm-glib/mm-call.c') 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 @@ -147,6 +147,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. -- cgit v1.2.3-70-g09d2