/// <summary> /// UpdateSessionStatus updates the <see cref="LastSessionStatus"/> property value. /// </summary> public void UpdateSessionStatus() { var result = _ovr.GetSessionStatus(_sessionPtr, ref _sessionStatus); if (result < Ab3d.OculusWrap.Result.Success) { var lastError = _ovr.GetLastErrorInfo(); throw new OvrException("Failed to get session status: " + lastError.ErrorString, lastError.Result); } }