WVR_IsDeviceSuspend

WVR_EXPORT bool WVR_IsDeviceSuspend(WVR_DeviceType type)

Lets the developer know if WVR_DeviceType is in suspend state(HMD only)

Return
True if in suspend state; otherwise returns false.
Version
API Level 1
Parameters

How to use

Here is an example for the function:

#include <wvr/wvr_device.h>

//check if HMD is suspend or not
if(!WVR_IsDeviceSuspend(WVR_DeviceType_HMD))
    LOGD("The HMD is in suspend state.");