DeliveryReport

open class DeliveryReport

This class is represent the delivery report details for each message send

See also

Constructors

Link copied to clipboard
open fun DeliveryReport(    @NonNull internationalPhoneNumber: String,     delivered: Boolean,     @Nullable reason: String)
This constructor to initiate all properties

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

Inheritors

Link copied to clipboard
Link copied to clipboard