/** * mm_modem_cdma_get_meid: * @self: A #MMModemCdma. * * Gets the <ulink url="http://en.wikipedia.org/wiki/MEID">Mobile Equipment Identifier</ulink>, * as reported by this #MMModemCdma. * * <warning>The returned value is only valid until the property changes so * it is only safe to use this function on the thread where * @self was constructed. Use mm_modem_cdma_dup_meid() if on another * thread.</warning> * * Returns: (transfer none): The MEID, or %NULL if none available. */ const gchar * mm_modem_cdma_get_meid (MMModemCdma *self) { g_return_val_if_fail (MM_IS_MODEM_CDMA (self), NULL); RETURN_NON_EMPTY_CONSTANT_STRING ( mm_gdbus_modem_cdma_get_meid (MM_GDBUS_MODEM_CDMA (self))); }
/** * mm_modem_time_get_path: * @self: A #MMModemTime. * * Gets the DBus path of the #MMObject which implements this interface. * * Returns: (transfer none): The DBus path of the #MMObject object. */ const gchar * mm_modem_time_get_path (MMModemTime *self) { g_return_val_if_fail (MM_IS_MODEM_TIME (self), NULL); RETURN_NON_EMPTY_CONSTANT_STRING ( g_dbus_proxy_get_object_path (G_DBUS_PROXY (self))); }
/** * mm_bearer_get_path: * @self: A #MMBearer. * * Gets the DBus path of the #MMBearer object. * * Returns: (transfer none): The DBus path of the #MMBearer object. */ const gchar * mm_bearer_get_path (MMBearer *self) { g_return_val_if_fail (MM_IS_BEARER (self), NULL); RETURN_NON_EMPTY_CONSTANT_STRING ( g_dbus_proxy_get_object_path (G_DBUS_PROXY (self))); }
/** * mm_modem_simple_get_path: * @self: A #MMModemSimple. * * Gets the DBus path of the #MMObject which implements this interface. * * Returns: (transfer none): The DBus path of the #MMObject object. */ const gchar * mm_modem_simple_get_path (MMModemSimple *self) { g_return_val_if_fail (G_IS_DBUS_PROXY (self), NULL); RETURN_NON_EMPTY_CONSTANT_STRING ( g_dbus_proxy_get_object_path (G_DBUS_PROXY (self))); }
/** * mm_bearer_get_interface: * @self: A #MMBearer. * * Gets 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. * * <warning>The returned value is only valid until the property changes so * it is only safe to use this function on the thread where * @self was constructed. Use mm_bearer_dup_interface() if on another * thread.</warning> * * Returns: (transfer none): The name of the interface, or %NULL if it couldn't be retrieved. */ const gchar * mm_bearer_get_interface (MMBearer *self) { g_return_val_if_fail (MM_IS_BEARER (self), NULL); RETURN_NON_EMPTY_CONSTANT_STRING ( mm_gdbus_bearer_get_interface (MM_GDBUS_BEARER (self))); }
/** * mm_modem_messaging_get_path: * @self: A #MMModemMessaging. * * Gets the DBus path of the #MMObject which implements this interface. * * Returns: (transfer none): The DBus path of the #MMObject object. */ const gchar * mm_modem_messaging_get_path (MMModemMessaging *self) { g_return_val_if_fail (MM_IS_MODEM_MESSAGING (self), NULL); RETURN_NON_EMPTY_CONSTANT_STRING ( g_dbus_proxy_get_object_path (G_DBUS_PROXY (self))); }
/** * mm_modem_3gpp_ussd_get_network_request: * @self: A #MMModem3gppUssd. * * Gets any pending network-initiated request. * * <warning>It is only safe to use this function on the thread where @self was constructed. Use mm_modem_3gpp_ussd_dup_network_request() if on another thread.</warning> * * Returns: (transfer none): The network request, or %NULL if none available. */ const gchar * mm_modem_3gpp_ussd_get_network_request (MMModem3gppUssd *self) { g_return_val_if_fail (MM_GDBUS_IS_MODEM3GPP_USSD (self), NULL); RETURN_NON_EMPTY_CONSTANT_STRING ( mm_gdbus_modem3gpp_ussd_get_network_request (self)); }
/** * mm_sim_get_identifier: * @self: A #MMSim. * * Gets the unique SIM identifier of the #MMSim object. * * <warning>It is only safe to use this function on the thread where @self was constructed. Use mm_sim_dup_identifier() if on another thread.</warning> * * Returns: (transfer none): The unique identifier of the #MMSim object, or %NULL if it couldn't be retrieved. */ const gchar * mm_sim_get_identifier (MMSim *self) { g_return_val_if_fail (MM_GDBUS_IS_SIM (self), NULL); RETURN_NON_EMPTY_CONSTANT_STRING ( mm_gdbus_sim_get_sim_identifier (self)); }
/** * mm_sim_get_operator_name: * @self: A #MMSim. * * Gets the Operator Name of the #MMSim object. * * <warning>It is only safe to use this function on the thread where @self was constructed. Use mm_sim_dup_operator_name() if on another thread.</warning> * * Returns: (transfer none): The Operator Name of the #MMSim object, or %NULL if it couldn't be retrieved. */ const gchar * mm_sim_get_operator_name (MMSim *self) { g_return_val_if_fail (MM_GDBUS_IS_SIM (self), NULL); RETURN_NON_EMPTY_CONSTANT_STRING ( mm_gdbus_sim_get_operator_name (self)); }