0

由于 SDK 版本 0.8,我的应用程序不再在后台运行。有人有想法吗?

class LeapController :public Leap::Listener
{
    //...

    void onInit(const Leap::Controller& controller) 
    {
        std::cout << "Initialized" << std::endl;
        // here i set the app to run in background:
        controller.setPolicyFlags(Leap::Controller::POLICY_BACKGROUND_FRAMES);
    }
    //...

};
4

0 回答 0