# SendSmartWatchData

## Description

Send data to the smart watch in the background, if watch app is not currently open the message will be queued and received by the watch app when it is next opened. The message must be in the form of a JSON string, for example "{"label":"my message"}". You can also use a type with the .toJSON() function to create a JSON string. The watch app will receive it as an NSDictionary with the labels as keys. Currently only works on iOS.

## Definition

SendSmartWatchData( szJson )

void agk::SendSmartWatchData( const char* szJson )

## Parameters

- szJson - A JSON string containing the message to send to the watch app.