IVROEMService_api1

For VROEMservice developers, you need to implement all methods of IVROEMService_api1. VROEMservice can communicate with VIVE Wave™ Server through this interface.

Method Introduction

  • String getApiVersion()
  • Get the API version.
  • return the string of api version.
  • void registerClient(IVROEMClient_api1 client)
  • Register the interface of IVROEMClient_api1 to VROEMService.
  • param client IVROEMClient_api1.
  • void unregisterClient(IVROEMClient_api1 client)
  • Unregister the interface of IVROEMClient_api1.
  • param client IVROEMClient_api1.
  • void start(IVROEMClient_api1 client)
  • Inform that runtime server is starting.
  • param client IVROEMClient_api1.
  • void stop(IVROEMClient_api1 client)
  • Inform that runtime server is stopping.
  • param client IVROEMClient_api1.
  • void notifyClientFocused(boolean bFocused)
  • Notify the focused status of VR app.
  • param bFocused true means VR app is on focus; otherwise false.
  • void notifyClientForeground(boolean bForeground)
  • Notify the foreground status of VR app.
  • param bForeground true means VR app is on the foreground; otherwise false.
  • void notifyFotaRunning(boolean bRunning)
  • Notify the execution status of firmware update of device.
  • param bRunning true means firmware update is running; otherwise false.
  • void notifyProximityTriggered(boolean bTriggered)
  • Notify the trigger status of proximity sensor.
  • param bTriggered true means proximity is near; otherwise false.
  • void onEvent(in VROEMEvent event)
  • Get events from runtime server.
  • param event VROEMEvent.
  • VRValidationResult checkValidation()
  • Return the validation result of checking procedure.
  • return VRValidationResult the validation result.
  • void notifyVRServerState(in VRServerState state)
  • Notify current state of runtime server.
  • param state VRServerState.
  • void onAnalogData(int deviceId, in VRInputId buttonId, in PointF axis, long ticks)
  • Get analog data of controller from runtime server.
  • param deviceId the ID of device.
  • param buttonId VRInputId
  • param buttonId VRInputId
  • param axis the [x, y] value of component
  • param ticks timestamp
  • String getConfigData(String key)
  • Return OEM Service configuration data.
  • param String key.