call: Add call-type property

The designs for the call details show information on the type of the call:
https://gitlab.gnome.org/Teams/Design/app-mockups/blob/master/calls/calls.png
So f.e. "Cellular", "Matrix WebRTC Video Call".

These properties can potentially also be useful in choosing the mechanism to
use for the audio controls from the call display.
This commit is contained in:
Evangelos Ribeiro Tzaras
2022-02-09 18:29:24 +01:00
parent 34b447a4ca
commit f50f0b8b74
4 changed files with 61 additions and 2 deletions

View File

@@ -39,6 +39,8 @@ CallsUiCallData *calls_ui_call_data_new (CallsCall *
void calls_ui_call_data_silence_ring (CallsUiCallData *self);
gboolean calls_ui_call_data_get_silenced (CallsUiCallData *self);
gboolean calls_ui_call_data_get_ui_active (CallsUiCallData *self);
CallsCallType calls_ui_call_data_get_call_type (CallsUiCallData *self);
CuiCallState calls_call_state_to_cui_call_state (CallsCallState state);
G_END_DECLS