The JSON RPC API

If you’re looking to write a frontend for Cardboard, you’ll need to be familiar with the JSON RPC call and response API it uses.

Communication with Cardboard involves listening for and responding to requests from the game engine. The types of requests and responses are divided into a number of different namespaces.

Tip

Each request and response object below is described by a JSON Schema object.

Namespaces

Game