IMSA Get IMS Registration Status response: libqmi-glib Reference Manual

## IMSA Get IMS Registration Status response IMSA Get IMS Registration Status response — Methods to manage the IMSA Get IMS Registration Status response. |

## Functions

QmiMessageImsaGetImsRegistrationStatusOutput * | qmi_message_imsa_get_ims_registration_status_output_ref ()
void | qmi_message_imsa_get_ims_registration_status_output_unref ()
gboolean | qmi_message_imsa_get_ims_registration_status_output_get_result ()
gboolean | qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_status ()
gboolean | qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_error_code ()
gboolean | qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_error_message ()
gboolean | qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_technology ()
QmiMessageImsaGetImsRegistrationStatusOutput * | qmi_message_imsa_get_ims_registration_status_response_parse ()
void | qmi_client_imsa_get_ims_registration_status ()
QmiMessageImsaGetImsRegistrationStatusOutput * | qmi_client_imsa_get_ims_registration_status_finish ()

## Types and Values

| QmiMessageImsaGetImsRegistrationStatusOutput

## Object Hierarchy

        GBoxed
        ╰── QmiMessageImsaGetImsRegistrationStatusOutput

## Description

Collection of methods to create requests and parse responses of the IMSA Get IMS Registration Status message.

## Functions

### qmi_message_imsa_get_ims_registration_status_output_ref ()

    QmiMessageImsaGetImsRegistrationStatusOutput *
    qmi_message_imsa_get_ims_registration_status_output_ref
                                   (QmiMessageImsaGetImsRegistrationStatusOutput *self);

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

#### Parameters

self | a QmiMessageImsaGetImsRegistrationStatusOutput. |

#### Returns

the new reference to `self` .

Since: 1.34

### qmi_message_imsa_get_ims_registration_status_output_unref ()

    void
    qmi_message_imsa_get_ims_registration_status_output_unref
                                   (QmiMessageImsaGetImsRegistrationStatusOutput *self);

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

#### Parameters

self | a QmiMessageImsaGetImsRegistrationStatusOutput. |

Since: 1.34

### qmi_message_imsa_get_ims_registration_status_output_get_result ()

    gboolean
    qmi_message_imsa_get_ims_registration_status_output_get_result
                                   (QmiMessageImsaGetImsRegistrationStatusOutput *self,
                                    GError **error);

Get the result of the QMI operation.

#### Parameters

self | a QmiMessageImsaGetImsRegistrationStatusOutput. |
error | Return location for error or `NULL`. |

#### Returns

`TRUE` if the QMI operation succeeded, `FALSE` if `error` is set.

[skip]

Since: 1.34

### qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_status ()

    gboolean
    qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_status
                                   (QmiMessageImsaGetImsRegistrationStatusOutput *self,
                                    QmiImsaImsRegistrationStatus *value_ims_registration_status,
                                    GError **error);

Get the 'IMS Registration Status' field from `self` .

#### Parameters

self | a QmiMessageImsaGetImsRegistrationStatusOutput. |
value_ims_registration_status | a placeholder for the output QmiImsaImsRegistrationStatus, 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.34

### qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_error_code ()

    gboolean
    qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_error_code
                                   (QmiMessageImsaGetImsRegistrationStatusOutput *self,
                                    guint16 *value_ims_registration_error_code,
                                    GError **error);

Get the 'IMS Registration Error Code' field from `self` .

#### Parameters

self | a QmiMessageImsaGetImsRegistrationStatusOutput. |
value_ims_registration_error_code | a placeholder for the output guint16, 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.34

### qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_error_message ()

    gboolean
    qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_error_message
                                   (QmiMessageImsaGetImsRegistrationStatusOutput *self,
                                    const gchar **value_ims_registration_error_message,
                                    GError **error);

Get the 'IMS Registration Error Message' field from `self` .

#### Parameters

self | a QmiMessageImsaGetImsRegistrationStatusOutput. |
value_ims_registration_error_message | a placeholder for the output constant string, or `NULL` if not required. | [out][optional][transfer none]
error | Return location for error or `NULL`. |

#### Returns

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

[skip]

Since: 1.34

### qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_technology ()

    gboolean
    qmi_message_imsa_get_ims_registration_status_output_get_ims_registration_technology
                                   (QmiMessageImsaGetImsRegistrationStatusOutput *self,
                                    QmiImsaRegistrationTechnology *value_ims_registration_technology,
                                    GError **error);

Get the 'IMS Registration Technology' field from `self` .

#### Parameters

self | a QmiMessageImsaGetImsRegistrationStatusOutput. |
value_ims_registration_technology | a placeholder for the output QmiImsaRegistrationTechnology, 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.34

### qmi_message_imsa_get_ims_registration_status_response_parse ()

    QmiMessageImsaGetImsRegistrationStatusOutput *
    qmi_message_imsa_get_ims_registration_status_response_parse
                                   (QmiMessage *message,
                                    GError **error);

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

Since: 1.34

### qmi_client_imsa_get_ims_registration_status ()

    void
    qmi_client_imsa_get_ims_registration_status
                                   (QmiClientImsa *self,
                                    gpointer unused,
                                    guint timeout,
                                    GCancellable *cancellable,
                                    GAsyncReadyCallback callback,
                                    gpointer user_data);

Asynchronously sends a Get IMS Registration Status request to the device.

When the operation is finished, `callback` will be invoked in the thread-default main loop of the thread you are calling this method from.

You can then call `qmi_client_imsa_get_ims_registration_status_finish()` to get the result of the operation.

#### Parameters

self | a QmiClientImsa. |
unused | `NULL`. This message doesn't have any input bundle. |
timeout | maximum time to wait for the method to complete, in seconds. |
cancellable | a GCancellable or `NULL`. |
callback | a GAsyncReadyCallback to call when the request is satisfied. |
user_data | user data to pass to `callback` . |

Since: 1.34

### qmi_client_imsa_get_ims_registration_status_finish ()

    QmiMessageImsaGetImsRegistrationStatusOutput *
    qmi_client_imsa_get_ims_registration_status_finish
                                   (QmiClientImsa *self,
                                    GAsyncResult *res,
                                    GError **error);

Finishes an async operation started with `qmi_client_imsa_get_ims_registration_status()`.

#### Parameters

self | a QmiClientImsa. |
res | the GAsyncResult obtained from the GAsyncReadyCallback passed to `qmi_client_imsa_get_ims_registration_status()`. |
error | Return location for error or `NULL`. |

#### Returns

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

Since: 1.34

## Types and Values

### QmiMessageImsaGetImsRegistrationStatusOutput

    typedef struct _QmiMessageImsaGetImsRegistrationStatusOutput QmiMessageImsaGetImsRegistrationStatusOutput;

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

Since: 1.34