-
Notifications
You must be signed in to change notification settings - Fork 2
TextDeliveredEvent
Ajša Terko edited this page Sep 22, 2023
·
1 revision
Read-only property that represents the id of the text.
-
String- Represents the id of the text for which the event has been received.
func onTextDelivered(_ textDeliveredEvent: TextDeliveredEvent) {
os_log("The id of the text is %@.", textDeliveredEvent.id)
}Read-only property that represents the delivered status of the text.
-
Bool- Represents the delivery status of the text for which the event has been received. Iftrue, the text has been delivered successfully.
func onTextDelivered(_ textDeliveredEvent: TextDeliveredEvent) {
if (textDeliveredEvent.delivered) {
os_log("The text has been delivered successfully.")
}
}Read-only property that represents the date of the (un)successful delivery of the text.
-
Date- Represents the date and time of the (un)successful delivery of the text.
func onTextDelivered(_ textDeliveredEvent: TextDeliveredEvent) {
os_log("The delivery time is %@.", textDeliveredEvent.date)
}