| libmm-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct MMCallProperties; MMCallProperties * mm_call_properties_new (void); const gchar * mm_call_properties_get_number (MMCallProperties *self); void mm_call_properties_set_number (MMCallProperties *self,const gchar *text); MMCallDirection mm_call_properties_get_direction (MMCallProperties *self); void mm_call_properties_set_direction (MMCallProperties *self,MMCallDirection direction); MMCallState mm_call_properties_get_state (MMCallProperties *self); void mm_call_properties_set_state (MMCallProperties *self,MMCallState state); MMCallStateReason mm_call_properties_get_state_reason (MMCallProperties *self); void mm_call_properties_set_state_reason (MMCallProperties *self,MMCallStateReason state_reason);
The MMCallProperties is an object handling the properties to be set in newly created CALL objects.
This object is created by the user and passed to ModemManager with either
mm_modem_voice_create_call() or mm_modem_voice_create_call_sync().
struct MMCallProperties;
The MMCallProperties structure contains private data and should only be accessed using the provided API.
MMCallProperties * mm_call_properties_new (void);
Creates a new empty MMCallProperties.
Returns : |
a MMCallProperties. The returned value should be freed with g_object_unref(). [transfer full]
|
const gchar * mm_call_properties_get_number (MMCallProperties *self);
Gets the number, in UTF-8.
|
A MMCallProperties. |
Returns : |
the call number, or NULL if it doesn't contain any (anonymous caller). Do not free the returned value, it is owned by self. |
void mm_call_properties_set_number (MMCallProperties *self,const gchar *text);
Sets the call number.
|
A MMCallProperties. |
|
The number to set, in UTF-8. |
MMCallDirection mm_call_properties_get_direction (MMCallProperties *self);
Gets the call direction.
|
A MMCallProperties. |
Returns : |
the call direction. |
void mm_call_properties_set_direction (MMCallProperties *self,MMCallDirection direction);
Sets the call direction
|
A MMCallProperties. |
|
the call direction |
MMCallState mm_call_properties_get_state (MMCallProperties *self);
Gets the call state.
|
A MMCallProperties. |
Returns : |
the call state. |
void mm_call_properties_set_state (MMCallProperties *self,MMCallState state);
Sets the call state
|
A MMCallProperties. |
|
the call state |
MMCallStateReason mm_call_properties_get_state_reason (MMCallProperties *self);
Gets the call state reason.
|
A MMCallProperties. |
Returns : |
the call state reason. |
void mm_call_properties_set_state_reason (MMCallProperties *self,MMCallStateReason state_reason);
Sets the call state reason
|
A MMCallProperties. |
|
the call state_reason |