PDC Refresh indication: libqmi-glib Reference Manual

## PDC Refresh indication PDC Refresh indication — Methods to manage the PDC Refresh indication. |

## Functions

QmiIndicationPdcRefreshOutput * | qmi_indication_pdc_refresh_output_ref ()
void | qmi_indication_pdc_refresh_output_unref ()
gboolean | qmi_indication_pdc_refresh_output_get_slot_id ()
gboolean | qmi_indication_pdc_refresh_output_get_subscription_id ()
gboolean | qmi_indication_pdc_refresh_output_get_refresh_event ()
QmiIndicationPdcRefreshOutput * | qmi_indication_pdc_refresh_indication_parse ()

## Types and Values

| QmiIndicationPdcRefreshOutput

## Object Hierarchy

        GBoxed
        ╰── QmiIndicationPdcRefreshOutput

## Description

Collection of methods to parse indications of the PDC Refresh message.

## Functions

### qmi_indication_pdc_refresh_output_ref ()

    QmiIndicationPdcRefreshOutput *
    qmi_indication_pdc_refresh_output_ref (QmiIndicationPdcRefreshOutput *self);

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

#### Parameters

self | a QmiIndicationPdcRefreshOutput. |

#### Returns

the new reference to `self` .

Since: 1.32

### qmi_indication_pdc_refresh_output_unref ()

    void
    qmi_indication_pdc_refresh_output_unref
                                   (QmiIndicationPdcRefreshOutput *self);

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

#### Parameters

self | a QmiIndicationPdcRefreshOutput. |

Since: 1.32

### qmi_indication_pdc_refresh_output_get_slot_id ()

    gboolean
    qmi_indication_pdc_refresh_output_get_slot_id
                                   (QmiIndicationPdcRefreshOutput *self,
                                    guint32 *value_slot_id,
                                    GError **error);

Get the 'Slot ID' field from `self` .

#### Parameters

self | a QmiIndicationPdcRefreshOutput. |
value_slot_id | a placeholder for the output guint32, 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.32

### qmi_indication_pdc_refresh_output_get_subscription_id ()

    gboolean
    qmi_indication_pdc_refresh_output_get_subscription_id
                                   (QmiIndicationPdcRefreshOutput *self,
                                    guint32 *value_subscription_id,
                                    GError **error);

Get the 'Subscription ID' field from `self` .

#### Parameters

self | a QmiIndicationPdcRefreshOutput. |
value_subscription_id | a placeholder for the output guint32, 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.32

### qmi_indication_pdc_refresh_output_get_refresh_event ()

    gboolean
    qmi_indication_pdc_refresh_output_get_refresh_event
                                   (QmiIndicationPdcRefreshOutput *self,
                                    QmiPdcRefreshEventType *value_refresh_event,
                                    GError **error);

Get the 'Refresh Event' field from `self` .

#### Parameters

self | a QmiIndicationPdcRefreshOutput. |
value_refresh_event | a placeholder for the output QmiPdcRefreshEventType, 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.32

### qmi_indication_pdc_refresh_indication_parse ()

    QmiIndicationPdcRefreshOutput *
    qmi_indication_pdc_refresh_indication_parse
                                   (QmiMessage *message,
                                    GError **error);

Parses a QmiMessage and builds a QmiIndicationPdcRefreshOutput 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 QmiIndicationPdcRefreshOutput, or `NULL` if `error` is set. The returned value should be freed with `qmi_indication_pdc_refresh_output_unref()`.

Since: 1.34

## Types and Values

### QmiIndicationPdcRefreshOutput

    typedef struct _QmiIndicationPdcRefreshOutput QmiIndicationPdcRefreshOutput;

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

Since: 1.32