Message Execution Flow

The messaging solution provides automatic handling of viewport interactions and sending of custom messages. Following here is a high-level presentation of how messages can flow between a web page and a Kit application. Note that a response message is not required to be sent - the sample provides a full message loop as an example.

../_images/opcg_messaging.png

Note that omni.kit.livestream.messaging can be replaced with another implementation. This sample makes use of JSON strings to communicate. Developers are encouraged to implement whatever messaging format fits their needs.

Next Steps: View the Web page overview