WVR_StopNotifyDeviceInfo¶
-
WVR_EXPORT void WVR_StopNotifyDeviceInfo(WVR_DeviceType type)
Function to stop notifydeviceinfo that you already started..
This API will stop notifydeviceinfo that you already started, and release related source. This API must be called by main thread.
- Version
- API Level 9
- Parameters
type
: Indicates what device type. (refer to WVR_DeviceType)
How to use¶
Sample function:
#include <wvr/wvr_notifydeviceinfo.h>
if (WVR_StartNotifyDeviceInfo(WVR_DeviceType_HMD, 256) == WVR_Success) {
//WVR_UpdateNotifyDeviceInfo
WVR_StopNotifyDeviceInfo(WVR_DeviceType_HMD);
} else {
// start NotifyDeviceInfo failed!
}