MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / keyReleased

Method keyReleased

CodenameOne/src/com/codename1/components/Ads.java:167–173  ·  view source on GitHub ↗
(int code)

Source from the content-addressed store, hash-verified

165
166 /// {@inheritDoc}
167 @Override
168 public void keyReleased(int code) {
169 if (Display.getInstance().getGameAction(code) == Display.GAME_FIRE) {
170 launchAd();
171 requestAd();
172 }
173 }
174
175 /// {@inheritDoc}
176 @Override

Callers

nothing calls this directly

Calls 4

getInstanceMethod · 0.95
launchAdMethod · 0.95
requestAdMethod · 0.95
getGameActionMethod · 0.45

Tested by

no test coverage detected