pub unsafe extern "C" fn ovr_GetSessionStatus(
    session: ovrSession,
    sessionStatus: *mut ovrSessionStatus
) -> ovrResult
Expand description

Returns status information for the application.

session Specifies an ovrSession previously returned by ovr_Create.

out sessionStatus Provides an ovrSessionStatus that is filled in.

Returns an ovrResult indicating success or failure. In the case of failure, use ovr_GetLastErrorInfo to get more information. Return values include but aren’t limited to: * ovrSuccess: Completed successfully. * ovrError_ServiceConnection: The service connection was lost and the application must destroy the session.