Menu
Amazon AppStream
Developer Guide

This documentation is for an older version of Amazon AppStream. For information about the latest version, see the Amazon AppStream 2.0 Developer Guide.

Receiving Client Messages

The client may send messages to your application. These are not related to user input; the content and purpose of these messages is specific to the client. During application development, you should research the messages that may be sent by the client and implement code to handle those messages. Sending messages from the client is optional, and some clients may send no messages at all.

To receive and handle client messages, your application implements a callback function to handle XStxIServerListenerMessageReceived events. When a XStxIServerListenerMessageReceived event fires, it passes the message to your callback function as a byte array.