Top | ![]() |
![]() |
![]() |
![]() |
CallsProviderCallsProvider — An abstraction of call providers, such as oFono, Telepathy or some SIP library. |
const char * | calls_provider_get_name () |
const char * | calls_provider_get_status () |
GListModel * | calls_provider_get_origins () |
const char *const * | calls_provider_get_protocols () |
gboolean | calls_provider_is_modem () |
gboolean | calls_provider_is_operational () |
The CallsProvider abstract class is the root of the class tree that needs to be implemented by a call provider. A CallsProvider provides access to a list of CallsOrigin interfaces, through the calls_provider_get_origins function and the origin-added and origin-removed signals.
const char *
calls_provider_get_name (CallsProvider *self
);
Get the user-presentable name of the provider.
GListModel *
calls_provider_get_origins (CallsProvider *self
);
Get the list of CallsOrigin interfaces offered by this provider.
const char *const *
calls_provider_get_protocols (CallsProvider *self
);
struct CallsProviderClass { GObjectClass parent_class; const char *(*get_name) (CallsProvider *self); const char *(*get_status) (CallsProvider *self); GListModel *(*get_origins) (CallsProvider *self); const char *const *(*get_protocols) (CallsProvider *self); gboolean (*is_modem) (CallsProvider *self); gboolean (*is_operational) (CallsProvider *self); };