[][src]Function gvr_sys::gvr_controller_state_get_connection_state

pub unsafe extern "C" fn gvr_controller_state_get_connection_state(
    state: *const gvr_controller_state
) -> i32

Gets the connection state of the controller. Returns one of the gvr_controller_connection_state variants, but returned as an int32_t for ABI compatibility.

@param state The controller state to get the connection state from. @return The connection state from the controller state as a gvr_controller_connection_state variant.