VOICE USSD indication: libqmi-glib Reference Manual

## VOICE USSD indication VOICE USSD indication — Methods to manage the VOICE USSD indication. |

## Functions

QmiIndicationVoiceUssdOutput * | qmi_indication_voice_ussd_output_ref ()
void | qmi_indication_voice_ussd_output_unref ()
gboolean | qmi_indication_voice_ussd_output_get_uss_data_utf16 ()
gboolean | qmi_indication_voice_ussd_output_get_uss_data ()
gboolean | qmi_indication_voice_ussd_output_get_user_action ()
QmiIndicationVoiceUssdOutput * | qmi_indication_voice_ussd_indication_parse ()

## Types and Values

| QmiIndicationVoiceUssdOutput

## Object Hierarchy

        GBoxed
        ╰── QmiIndicationVoiceUssdOutput

## Description

Collection of methods to parse indications of the VOICE USSD message.

## Functions

### qmi_indication_voice_ussd_output_ref ()

    QmiIndicationVoiceUssdOutput *
    qmi_indication_voice_ussd_output_ref (QmiIndicationVoiceUssdOutput *self);

Atomically increments the reference count of `self` by one.

#### Parameters

self | a QmiIndicationVoiceUssdOutput. |

#### Returns

the new reference to `self` .

Since: 1.26

### qmi_indication_voice_ussd_output_unref ()

    void
    qmi_indication_voice_ussd_output_unref
                                   (QmiIndicationVoiceUssdOutput *self);

Atomically decrements the reference count of `self` by one. If the reference count drops to 0, `self` is completely disposed.

#### Parameters

self | a QmiIndicationVoiceUssdOutput. |

Since: 1.26

### qmi_indication_voice_ussd_output_get_uss_data_utf16 ()

    gboolean
    qmi_indication_voice_ussd_output_get_uss_data_utf16
                                   (QmiIndicationVoiceUssdOutput *self,
                                    GArray **value_uss_data_utf16,
                                    GError **error);

Get the 'USS Data UTF16' field from `self` .

#### Parameters

self | a QmiIndicationVoiceUssdOutput. |
value_uss_data_utf16 | a placeholder for the output GArray of guint16 elements, or `NULL` if not required. Do not free it, it is owned by `self` . | [out][optional][element-type guint16][transfer none]
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the field is found, `FALSE` otherwise.

[skip]

Since: 1.26

### qmi_indication_voice_ussd_output_get_uss_data ()

    gboolean
    qmi_indication_voice_ussd_output_get_uss_data
                                   (QmiIndicationVoiceUssdOutput *self,
                                    QmiVoiceUssDataCodingScheme *value_uss_data_data_coding_scheme,
                                    GArray **value_uss_data_data,
                                    GError **error);

Get the 'USS Data' field from `self` .

#### Parameters

self | a QmiIndicationVoiceUssdOutput. |
value_uss_data_data_coding_scheme | a placeholder for the output QmiVoiceUssDataCodingScheme, or `NULL` if not required. | [out][optional]
value_uss_data_data | a placeholder for the output GArray of guint8 elements, or `NULL` if not required. Do not free it, it is owned by `self` . | [out][optional][element-type guint8][transfer none]
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the field is found, `FALSE` otherwise.

[skip]

Since: 1.26

### qmi_indication_voice_ussd_output_get_user_action ()

    gboolean
    qmi_indication_voice_ussd_output_get_user_action
                                   (QmiIndicationVoiceUssdOutput *self,
                                    QmiVoiceUserAction *value_user_action,
                                    GError **error);

Get the 'User Action' field from `self` .

#### Parameters

self | a QmiIndicationVoiceUssdOutput. |
value_user_action | a placeholder for the output QmiVoiceUserAction, or `NULL` if not required. | [out][optional]
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the field is found, `FALSE` otherwise.

[skip]

Since: 1.26

### qmi_indication_voice_ussd_indication_parse ()

    QmiIndicationVoiceUssdOutput *
    qmi_indication_voice_ussd_indication_parse
                                   (QmiMessage *message,
                                    GError **error);

Parses a QmiMessage and builds a QmiIndicationVoiceUssdOutput out of it. The operation fails if the message is of the wrong type.

#### Parameters

message | a QmiMessage. |
error | return location for error or `NULL`. |

#### Returns

a QmiIndicationVoiceUssdOutput, or `NULL` if `error` is set. The returned value should be freed with `qmi_indication_voice_ussd_output_unref()`.

Since: 1.34

## Types and Values

### QmiIndicationVoiceUssdOutput

    typedef struct _QmiIndicationVoiceUssdOutput QmiIndicationVoiceUssdOutput;

The QmiIndicationVoiceUssdOutput structure contains private data and should only be accessed using the provided API.

Since: 1.26