Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ReceiveIncomingSMS (FromNumber, Msg)

Supported_os
SupportIOStrue
SupportAndroidtrue

SEO Metadata
titleSeeTest Automation- Receive Incoming SMS

Initiate sending of SMS to be received by the device.

Description

Initiate sending of SMS to be received by the device device.

Parameters

  • FromNumber - The phone number that the message will appear to arrive from (5+ character).

  • Msg - The message text (5+ character).

 

Info
titleNotes:

To use telephony features (receiving calls and SMS), the Cloud Admin must have configured and activated a telephony account. This is done in the Device Policies -> Telephony web UI page.


Code Examples

Code Block
languagejava
titleJava Example
linenumberstrue
client.receiveIncomingSMS("123456", "Test Message");
Code Block
languagec#
titleC# Example
linenumberstrue
collapsetrue
client.ReceiveIncomingSMS("123456", "Test Message");
Code Block
languagevb
titleVBScript Example
linenumberstrue
collapsetrue
client.ReceiveIncomingSMS("123456", "Test Message")
Code Block
languagepy
titlePython Example
linenumberstrue
collapsetrue
self.client.receiveIncomingSMS("123456", "Test Message")
Code Block
languageperl
titlePerl Example
linenumberstrue
collapsetrue
$client->receiveIncomingSMS("123456", "Test Message");