ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Apple Watch functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Sends an information from an iOS phone to an Apple Watch (or conversely).
Example
MyBuffer is Buffer = "Text buffer"
IF NOT awSendInfo(MyBuffer) THEN
Error(ErrorInfo())
END
Syntax
<Result> = awSendInfo(<Data>)
<Result>: Boolean
  • True if the sending was successful
  • False otherwise. ErrorInfo returns more details about the error.
<Data>: Buffer
Data to send.
Remarks
  • The receiver will receive the data sent via the procedure passed to awProcedureGetInfo.
  • If the data has not changed since the previous call, the receiver procedure will not be called.
  • The data or information send is considered as being volatile: each successive call replaces the data sent by the previous call.
  • The data is transferred in background to reduce the use of the battery. Therefore, the data can be transmitted quite a long time after the effective call.
  • The data sent must be preferably small (to avoid overloading the communication between the watch and the phone).
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment

Last update: 03/07/2023

Send a report | Local help