语言

Menu
Sites
Language
How do I get the sender phone number from ReceivedMessage?

How do I get the sender phone number from ReceivedMessage?

I always appreciate your answer to my question.
I'm sorry, but I have another question.

I used EventHandlerMessageReceived to receive sms.
And normally e.I read the value of "ReceivedMessage.Text"
But there's no way to get the sender's phone number.

How do I get the sender phone number using EventHandlerMessageReceived ?

https://developer.tizen.org/ko/development/guides/.net-application/messaging/messages?langswitch=ko

Still ask for an answer.
Thank you very much.

 

编辑者为: GwangGyu Choi 23 8月, 2019

响应

1 回复
Tizen .NET

Hi,

Please check Message 's From property.

You can get the number of the sender.

https://developer.tizen.org/dev-guide/csapi/api/Tizen.Messaging.Messages.MessageReceivedEventArgs.html

https://developer.tizen.org/dev-guide/csapi/api/Tizen.Messaging.Messages.MessageReceivedEventArgs.html#Tizen_Messaging_Messages_MessageReceivedEventArgs_ReceivedMessage

 

Thanks.