IVROEMClient_api1

We implements the interface of IVROEMClient_api1 in VIVE Wave™ Server. VROEMservice can get information and do some actions to VIVE Wave™ Server through this interface.

Method Introduction

  • void finishVRAP(boolean bKillAll)
  • Close VP app(s).
  • Finish all VR apps if bKillAll is true; otherwise finish foreground VR app.
  • param bKillAll true if finish all VR apps; otherwise just finish foreground VR app.
  • void broadcastServerReady(in VRValidationResult result)
  • Inform everything is ready to start up.
  • param result VRValidationResult.
  • boolean hasExternalDisplay()
  • Get the external display property of HMD.
  • return true if HMD supports external display; otherwise false.
  • boolean hasProximitySensor()
  • Get the proximity sensor property of HMD.
  • return true if HMD supports a proximity sensor; otherwise false.
  • float getHmdBatteryPercentage()
  • Get the battery percentage of HMD.
  • return float the battery percentage.
  • float getHmdBatteryTemperature()
  • Get the battery temperature of HMD.
  • return float the battery temperature of Celsius.
  • int getConnectedCountrollerCount()
  • Get the count of connected controller.
  • return integer the count of connected controller.
  • void triggerRecenter(in RecenterType type)
  • Trigger recenter action.
  • param type RecenterType.
  • void setActivityLevel(int level)
  • Set activity level of system.
  • param level the integer from [0, 4], 1 for active and 3 for inactive.
  • boolean isHMDConnected()
  • Get the connection state of HMD.
  • return true if HMD is connected; otherwise false.
  • String getParameters(int devId, String params)
  • Get the parameter of device.
  • param devId the ID of device.
  • param params the parameter that wants to query.
  • return the value for this parameter.
  • int getDevicePropertyStatus(int device_id, int property)
  • Get the property of device.
  • param device_id the ID of device.
  • param property the integer of property.
  • return integer the value for this property.
  • void setControllerPoseValid(boolean valid)
  • Set the valid value of controller pose.
  • param valid the valid value of pose.
  • String getFocusVRAPName()
  • Get the package name of focused VR AP.
  • return the package name of focused VR app.
  • String getFocusVRAPSDKVer()
  • Get the SDK version value of focused VR AP.
  • Return the SDK version value string of focused VR AP.