MM.Sms – libmm-glib Reference Manual
Packages
libmm-glib
MM
Sms
Sms
dup_data
dup_discharge_timestamp
dup_number
dup_path
dup_smsc
dup_text
dup_timestamp
get_class
get_data
get_delivery_report_request
get_delivery_state
get_discharge_timestamp
get_message_reference
get_number
get_path
get_pdu_type
get_service_category
get_smsc
get_state
get_storage
get_teleservice_id
get_text
get_timestamp
get_validity_relative
get_validity_type
send
send_sync
store
store_sync
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.
Namespace:
MM
Package:
libmm-glib
Content:
Creation methods:
protected
Sms
()
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 <ulink url="http://en.
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 <ulink url="http://en.
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 <ulink url="http://en.
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 <ulink url="http://en.
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
init_async
new_async
new_valist_async
newv_async
All known members inherited from interface GLib.DBusInterface
dup_object
get_info
get_object
set_object
All known members inherited from interface GLib.Initable
@new
init
new_valist
newv
All known members inherited from interface MM.GdbusSms
@class
call_send
call_send_sync
call_store
call_store_sync
complete_send
complete_store
data
delivery_report_request
delivery_state
discharge_timestamp
handle_send
handle_store
interface_info
message_reference
number
override_properties
pdu_type
service_category
smsc
state
storage
teleservice_id
text
timestamp
validity