MessageDeliveryReport

open class MessageDeliveryReport : DeliveryReport

Constructors

Link copied to clipboard
open fun MessageDeliveryReport(    @NonNull internationalPhoneNumber: String,     delivered: Boolean,     @Nullable reason: String,     @NonNull deliveryDate: String,     deliveryStatus: Int,     @Nullable filterReason: String)

Functions

Link copied to clipboard
open fun getFilterReason(): String
Link copied to clipboard
open fun getMessageDeliveryDate(): String
get the date of the message delivery
Link copied to clipboard
open fun getMessageDeliveryStatus(): Int
get the message delivery status
Link copied to clipboard
open fun setMessageDeliveryDate(@NonNull deliveryDate: String)
set the message delivery date
Link copied to clipboard
open fun setMessageDeliveryStatus(mDeliveryStatus: Int)
set the message delivery status

Inherited functions

Link copied to clipboard
open fun getInternationalPhoneNumber(): String
Gets the address of the recipient of the original message
Link copied to clipboard
open fun getReason(): String
Gets the reason why the delivery was not successful.
Link copied to clipboard
open fun isDelivered(): Boolean
Check if the message has been successfully delivered to the recipient or not.
Link copied to clipboard
open fun setDelivered(delivered: Boolean)
Update the delivery status.
Link copied to clipboard
open fun setInternationalPhoneNumber(@NonNull internationalPhoneNumber: String)
Update the address of the recipient of the original message
Link copied to clipboard
open fun setReason(@Nullable reason: String)
Update the reason why the delivery was not successful.
Link copied to clipboard
open fun toString(): String