VRValidationResult¶
Class to encapsulate the validation result that is checked by the VROEMService.
Construction¶
- VRValidationResult(boolean success, boolean hasExternalDisplay, boolean dimScreen)
- The construction of the VRValidationResult.
- param success The validation result.
- param hasExternalDisplay Indicates if the HMD supports or doesn’t support an external display.
- param dimScreen Indicates if the mobile device screen needs to dim or not.
Method List¶
- boolean getSuccess()
- Get the success value of the VR validation result.
- Return true for successful validation; otherwise return false.
- boolean getHasExternalDisplay()
- Get the HasExternalDisplay value of the VR validation result.
- Return true for external display is supported; otherwise return false.
- boolean getDimScreen()
- Get the DimScreen value of the VR validation result.
- Return true if the mobile device screen needs to be dimmed; otherwise return false.