Entering content frame

Function documentation GET_TELEPHONY_LINKS_SUPPORTED Method Locate the document in its SAP Library structure

Use

The GET_TELEPHONY_LINKS_SUPPORTED method specifies whether or not you can use a link to directly dial a telephone number. If a mobile device meets this condition and supports telephony links, a WTAI (Wireless Telephony Application Interface) link is used. (See example for more details.)

If the device does not meet the condition, the phone number should be displayed on the screen, so the user can dial it afterwards.

WAP-enabled Nokia devices allow you to dial phone numbers displayed on the screen by using the [USE NUMBER] function. Since this dial operation does not use WTAI links, the GET_TELEPHONY_LINKS_SUPPORTED method returns the platform-specific value false for these devices.

Example

<wml>

<card id="main" title="Dial via WTAI">
<p>
Listen to SAP Radio by
<% if client_info->get_telephony_links_supported( ) = ‘X’. clicking <a href="wtai://wp/mc;00499151817799">here</a>
<% else.
%>
dialing 00499151817799
<% endif.
%>
</p>
</card>

</wml>

IF_CLIENT_INFO Interface

Leaving content frame