MCPcopy Create free account
hub / github.com/android/ndk-samples / OnBackKeyPressed

Method OnBackKeyPressed

endless-tunnel/app/src/main/cpp/scene_manager.cpp:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136bool SceneManager::OnBackKeyPressed() {
137 if (mHasGraphics && mCurScene) {
138 return mCurScene->OnBackKeyPressed();
139 }
140 return false;
141}
142
143void SceneManager::OnKeyDown(int ourKeycode) {
144 MY_ASSERT(ourKeycode >= 0 && ourKeycode < OURKEY_COUNT);

Callers 1

OnKeyDownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected