SmsSender
Description
“SmsSender "is a versatile extension component designed to SMS messaging functionality within your application. This powerful component empowers to send SMS messages without the need to open external applications.
With SmsSender, you gain access to a comprehensive suite of features, including functions to verify and request the SEND_SMS
permission, send SMS messages directly from your app, and effortlessly handle delivery status updates.
All Blocks
Docs
Click here
Docs for: SmsReader
Events
AfterReading
Event indicating that the SMS reading process has completed.
data | any
OnErrorOccurred
Event indicating that an error has occurred during the SMS reading process.
error | text
errorFrom | text
Methods
IsPermissionRequired
Checks if permission to read SMS messages is required.
Return type : boolean
RequestPermission
Requests permission to read SMS messages.
ProjectionFilter
Sets the fields to be included in the query results.
fields | list
SelectionFilter
Sets the criteria for filtering results.
field | text
args | list
ReadSms
Initiates the process of reading SMS messages.
GetData
Extracts the specified data field from the retrieved SMS messages.
data | any
fieldName | text
Return type : list
Properties
ReadType
Determines the type of SMS messages to read.
Property Type : write-only
Accepts : text
READ_TYPE_ALL
Returns the value representing all types of SMS messages.
Property Type : read-only
Accepts : text
READ_TYPE_INBOX
Returns the value representing inbox SMS messages.
Property Type : read-only
Accepts : text
READ_TYPE_SENT
Returns the value representing sent SMS messages.
Property Type : read-only
Accepts : text
READ_TYPE_DRAFT
Returns the value representing draft SMS messages.
Property Type : read-only
Accepts : text
READ_TYPE_OUTBOX
Returns the value representing outbox SMS messages.
Property Type : read-only
Accepts : text
READ_TYPE_FAILED
Returns the value representing failed SMS messages.
Property Type : read-only
Accepts : text
READ_TYPE_QUEUED
Returns the value representing queued SMS messages.
Property Type : read-only
Accepts : text
READ_TYPE_CONVERSATIONS
Returns the value representing SMS messages from conversations.
Property Type : read-only
Accepts : text
SortOrderField
Sets the field to be used for sorting SMS messages.
Property Type : write-only
Accepts : text
SortOrderType
Sets the type of sorting for SMS messages.
Property Type : write-only
Accepts : text
SORT_ORDER_DESCENDING
Returns the value representing descending sorting order.
Property Type : read-only
Accepts : text
SORT_ORDER_ASCENDING
Returns the value representing ascending sorting order.
Property Type : read-only
Accepts : text
Id
The unique ID of the SMS message.
Property Type : read-only
Accepts : text
ThreadId
The thread ID of the SMS message.
Property Type : read-only
Accepts : text
Address
The address of the SMS message.
Property Type : read-only
Accepts : text
Date
The date when the SMS message was received.
Property Type : read-only
Accepts : text
DateSent
The date when the SMS message was sent.
Property Type : read-only
Accepts : text
Protocol
The protocol of the SMS message.
Property Type : read-only
Accepts : text
Read
The read status of the SMS message.
Property Type : read-only
Accepts : text
Status
The status of the SMS message.
Property Type : read-only
Accepts : text
STATUS_COMPLETE
Returns the value representing the complete status of the SMS message.
Property Type : read-only
Accepts : number
STATUS_FAILED
Returns the value representing the failed status of the SMS message.
Property Type : read-only
Accepts : number
STATUS_NONE
Returns the value representing no status of the SMS message.
Property Type : read-only
Accepts : number
STATUS_PENDING
Returns the value representing the pending status of the SMS message.
Property Type : read-only
Accepts : number
Type
The type of the SMS message.
Property Type : read-only
Accepts : text
MESSAGE_TYPE_ALL
Returns the value representing all types of SMS messages.
Property Type : read-only
Accepts : number
MESSAGE_TYPE_SENT
Returns the value representing sent SMS messages.
Property Type : read-only
Accepts : number
MESSAGE_TYPE_DRAFT
Returns the value representing draft SMS messages.
Property Type : read-only
Accepts : number
MESSAGE_TYPE_OUTBOX
Returns the value representing outbox SMS messages.
Property Type : read-only
Accepts : number
MESSAGE_TYPE_FAILED
Returns the value representing failed SMS messages.
Property Type : read-only
Accepts : number
MESSAGE_TYPE_QUEUED
Returns the value representing queued SMS messages.
Property Type : read-only
Accepts : number
ReplyPathPresent
Indicates if reply path is present in the SMS message.
Property Type : read-only
Accepts : text
Body
The body (text) of the SMS message.
Property Type : read-only
Accepts : text
ServiceCenter
The service center address of the SMS message.
Property Type : read-only
Accepts : text
Locked
Indicates if the SMS message is locked.
Property Type : read-only
Accepts : text
ErrorCode
The error code of the SMS message.
Property Type : read-only
Accepts : text
SubscriptionId
The subscription ID of the SMS message.
Property Type : read-only
Accepts : text
Creator
The creator of the SMS message.
Property Type : read-only
Accepts : text
Seen
Indicates if the SMS message is seen.
Property Type : read-only
Accepts : text