IVROEMClient_api1¶
The IVROEMClient_api1 interface is implemented in the VIVE Wave™ Server. VROEMservice can get information and perform actions to the VIVE Wave™ Server through this interface.
Method List¶
- void finishVRAP(boolean bKillAll)
- Close app(s).
- Close all VR apps if bKillAll is true; otherwise just close the app in the foreground.
- param bKillAll true if close all apps; otherwise just close the app in the foreground.
- void broadcastServerReady(in VRValidationResult result)
- Inform everything is ready to start up.
- param result VRValidationResult.
- boolean hasExternalDisplay()
- Get the external display properties of the HMD.
- Return true if the HMD supports an external display; otherwise return false.
- boolean hasProximitySensor()
- Get the proximity sensor property of the HMD.
- Return true if the HMD supports a proximity sensor; otherwise return false.
- float getHmdBatteryPercentage()
- Get the battery power percentage of the HMD.
- Return float the battery power percentage.
- float getHmdBatteryTemperature()
- Get the battery temperature of the HMD.
- Return float the battery temperature in Celsius.
- int getConnectedCountrollerCount()
- Get the number of controllers connected.
- Return the number of controllers connected..
- void triggerRecenter(in RecenterType type)
- Start the recenter action.
- param type RecenterType.
- void setActivityLevel(int level)
- Set the activity level of the system.
- param level An integer from 0 ~ 4, 1 for active and 3 for inactive.
- boolean isHMDConnected()
- Get the connection state of the HMD.
- Return true if the HMD is connected; otherwise return false.
- String getParameters(int devId, String params)
- Get the parameter of the device.
- param devId The ID of the 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 the device.
- param device_id The ID of the device.
- param property The value of the property.
- Return an integer value for this property.
- void setControllerPoseValid(boolean valid)
- Set the valid value of the controller pose.
- param valid A valid value of the pose.
- String getFocusVRAPName()
- Get the package name of the app that is in focus.
- Return the package name of the app that is in focus.
- String getFocusVRAPSDKVer()
- Get the SDK version of the app that is in focus.
- Return the SDK version value string of the app that is in focus.