adb shell "am broadcast -n horizon.platform.spatialsim/.CommandReceiver --es COMMAND \"common.reset_data\""
| API | Behavior in Spatial Simulator |
|---|---|
Opens a system dialog that simulates the headset experience. | |
Opens a system dialog that simulates the headset experience. | |
Returns all users who are friends of the logged in user and filters out any users who have been blocked. From the spatial simulator default catalog, these users should initially include all users besides Lancelot and Thorne. | |
Returns no results until you call sendInvites, which starts tracking invites so this API returns them. | |
Send an invite to the recipient ID, which can be accepted via CLI command. | |
This is a notification based API that can be triggered through the CLI command. Begin by listening for the notification by calling the joinIntentReceived API. |
| API | Behavior in Spatial Simulator |
|---|---|
Returns products from the default catalog which have matching SKU names as the names passed in. Create more SKUs by using the CLI command iap.create_product. | |
Opens a system dialog that simulates the checkout dialog on the headset. Completing the checkout flow purchases the item. | |
Returns same set of purchases as getViewerPurchases | |
Consumes a consumable type purchase. Must be a valid purchase which can be obtained from Iap.getViewerPurchases. |
| API | Behavior in Spatial Simulator |
|---|---|
Returns a fake access token. | |
| API | Behavior in Spatial Simulator |
|---|---|
Opens a dialog. Unlike the headset, the Spatial Simulator does not launch a different application in the user’s library. | |
Returns the same information regardless of the calling application. |
| API | Behavior in Spatial Simulator |
|---|---|
adb event. | |
Fixed response. | |
Fixed response. |
| API | Behavior in Spatial Simulator |
|---|---|
Backend request. |