/** * mm_modem_cdma_dup_esn: * @self: A #MMModemCdma. * * Gets a copy of the <ulink url="http://en.wikipedia.org/wiki/Electronic_serial_number">Electronic Serial Number</ulink>, * as reported by this #MMModemCdma. * * The ESN is superceded by MEID, but still used in older devices. * * Returns: (transfer full): The ESN, or %NULL if none available. The returned value should be freed with g_free(). */ gchar * mm_modem_cdma_dup_esn (MMModemCdma *self) { g_return_val_if_fail (MM_IS_MODEM_CDMA (self), NULL); RETURN_NON_EMPTY_STRING ( mm_gdbus_modem_cdma_dup_esn (MM_GDBUS_MODEM_CDMA (self))); }
/** * mm_bearer_dup_interface: * @self: A #MMBearer. * * Gets a copy of the operating system name for the network data interface that provides * packet data using this #MMBearer. This will only be available once the #MMBearer * is in connected state. * * Returns: (transfer full): The name of the interface, or %NULL if it couldn't be retrieved. The returned value should be freed with g_free(). */ gchar * mm_bearer_dup_interface (MMBearer *self) { g_return_val_if_fail (MM_IS_BEARER (self), NULL); RETURN_NON_EMPTY_STRING ( mm_gdbus_bearer_dup_interface (MM_GDBUS_BEARER (self))); }
/** * mm_modem_3gpp_ussd_dup_network_request: * @self: A #MMModem3gppUssd. * * Gets a copy of any pending network-initiated request. * * Returns: (transfer full): The network request, or %NULL if none available. The returned value should be freed with g_free(). */ gchar * mm_modem_3gpp_ussd_dup_network_request (MMModem3gppUssd *self) { g_return_val_if_fail (MM_GDBUS_IS_MODEM3GPP_USSD (self), NULL); RETURN_NON_EMPTY_STRING ( mm_gdbus_modem3gpp_ussd_dup_network_request (self)); }
/** * mm_sim_dup_identifier: * @self: A #MMSim. * * Gets a copy of the unique SIM identifier of the #MMSim object. * * Returns: (transfer full): The unique identifier of the #MMSim object, or %NULL if it couldn't be retrieved. The returned value should be freed with g_free(). */ gchar * mm_sim_dup_identifier (MMSim *self) { g_return_val_if_fail (MM_GDBUS_IS_SIM (self), NULL); RETURN_NON_EMPTY_STRING ( mm_gdbus_sim_dup_sim_identifier (self)); }
/** * mm_sim_dup_operator_name: * @self: A #MMSim. * * Gets a copy of the Operator Name of the #MMSim object. * * Returns: (transfer full): The Operator Name of the #MMSim object, or %NULL if it couldn't be retrieved. The returned value should be freed with g_free(). */ gchar * mm_sim_dup_operator_name (MMSim *self) { g_return_val_if_fail (MM_GDBUS_IS_SIM (self), NULL); RETURN_NON_EMPTY_STRING ( mm_gdbus_sim_dup_operator_name (self)); }
/** * mm_modem_time_dup_path: * @self: A #MMModemTime. * * Gets a copy of the DBus path of the #MMObject object which implements this interface. * * Returns: (transfer full): The DBus path of the #MMObject. The returned value should be freed with g_free(). */ gchar * mm_modem_time_dup_path (MMModemTime *self) { gchar *value; g_return_val_if_fail (MM_IS_MODEM_TIME (self), NULL); g_object_get (G_OBJECT (self), "g-object-path", &value, NULL); RETURN_NON_EMPTY_STRING (value); }
/** * mm_modem_simple_dup_path: * @self: A #MMModemSimple. * * Gets a copy of the DBus path of the #MMObject object which implements this interface. * * Returns: (transfer full): The DBus path of the #MMObject. The returned value should be freed with g_free(). */ gchar * mm_modem_simple_dup_path (MMModemSimple *self) { gchar *value; g_return_val_if_fail (G_IS_DBUS_PROXY (self), NULL); g_object_get (G_OBJECT (self), "g-object-path", &value, NULL); RETURN_NON_EMPTY_STRING (value); }
/** * mm_modem_messaging_dup_path: * @self: A #MMModemMessaging. * * Gets a copy of the DBus path of the #MMObject object which implements this interface. * * Returns: (transfer full): The DBus path of the #MMObject. The returned value should be freed with g_free(). */ gchar * mm_modem_messaging_dup_path (MMModemMessaging *self) { gchar *value; g_return_val_if_fail (MM_IS_MODEM_MESSAGING (self), NULL); g_object_get (G_OBJECT (self), "g-object-path", &value, NULL); RETURN_NON_EMPTY_STRING (value); }
/** * mm_bearer_dup_path: * @self: A #MMBearer. * * Gets a copy of the DBus path of the #MMBearer object. * * Returns: (transfer full): The DBus path of the #MMBearer object. The returned value should be freed with g_free(). */ gchar * mm_bearer_dup_path (MMBearer *self) { gchar *value; g_return_val_if_fail (MM_IS_BEARER (self), NULL); g_object_get (G_OBJECT (self), "g-object-path", &value, NULL); RETURN_NON_EMPTY_STRING (value); }