Sms
Object Hierarchy:
Description:
[
CCode ( type_id =
"mm_sms_get_type ()" ) ]
public class Sms :
GdbusSmsProxy,
AsyncInitable,
DBusInterface,
Initable,
GdbusSms
The Sms structure contains private data and should only be accessed using the provided API.
Content:
Creation methods:
Methods:
- public uint8[] dup_data ()
Gets the message data.
- public string dup_discharge_timestamp ()
Gets the time when the first PDU of the SMS message left the SMSC, in
ISO8601 format.
- public string dup_number ()
Gets the number to which the message is addressed.
- public string dup_path ()
Gets a copy of the DBus path of the Sms
object.
- public string dup_smsc ()
Gets the SMS service center number.
- public string dup_text ()
Gets the message text, in UTF-8.
- public string dup_timestamp ()
Gets the time when the first PDU of the SMS message arrived the SMSC,
in ISO8601 format.
- public int get_class ()
Gets the 3GPP message class of the SMS.
- public unowned uint8[] get_data ()
Gets the message data.
- public bool get_delivery_report_request ()
Checks whether delivery report is requested for this SMS.
- public uint get_delivery_state ()
Gets the delivery state of this SMS.
- public unowned string get_discharge_timestamp ()
Gets the time when the first PDU of the SMS message left the SMSC, in
ISO8601 format.
- public uint get_message_reference ()
Gets the message reference of the last PDU sent/received within this
SMS.
- public unowned string get_number ()
Gets the number to which the message is addressed.
- public unowned string get_path ()
Gets the DBus path of the Sms object.
- public SmsPduType get_pdu_type ()
Gets the PDU type on which this SMS is based.
- public SmsCdmaServiceCategory get_service_category ()
Gets the 3GPP2 Service Category.
- public unowned string get_smsc ()
Gets the SMS service center number.
- public SmsState get_state ()
Gets the state of this SMS.
- public SmsStorage get_storage ()
Gets the storage in which this SMS is kept.
- public SmsCdmaTeleserviceId get_teleservice_id ()
Gets the 3GPP2 Teleservice ID.
- public unowned string get_text ()
Gets the message text, in UTF-8.
- public unowned string get_timestamp ()
Gets the time when the first PDU of the SMS message arrived the SMSC,
in ISO8601 format.
- public uint get_validity_relative ()
Gets the length of the validity period, in minutes.
- public SmsValidityType get_validity_type ()
Gets the type of validity information in the SMS.
- public async bool send (Cancellable? cancellable) throws Error
Asynchronously requests to queue the message for delivery.
- public bool send_sync (Cancellable? cancellable = null) throws Error
Synchronously requests to queue the message for delivery.
- public async bool store (SmsStorage storage, Cancellable? cancellable) throws Error
Asynchronoulsy requests to store the message in the device if not
already done.
- public bool store_sync (SmsStorage storage, Cancellable? cancellable = null) throws Error
Synchronoulsy requests to store the message in the device if not
already done.
Inherited Members:
All known members inherited from class GLib.DBusProxy
- @new
- call
- call_sync
- call_with_unix_fd_list
- call_with_unix_fd_list_sync
- create_for_bus
- g_bus_type
- g_connection
- g_default_timeout
- g_flags
- g_interface_info
- g_interface_name
- g_name
- g_name_owner
- g_object_path
- g_properties_changed
- g_signal
- get_cached_property
- get_cached_property_names
- get_connection
- get_default_timeout
- get_flags
- get_interface_info
- get_interface_name
- get_name
- get_name_owner
- get_object_path
- set_cached_property
- set_default_timeout
- set_interface_info
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.DBusInterface
All known members inherited from interface GLib.Initable
All known members inherited from interface MM.GdbusSms