HaxeExtension / extension-android-immersive

Lime extension for enabling immersive mode on most android platforms
Other
12 stars 1 forks source link

Disabling immersive mode from haxe side? #2

Open rottor opened 8 years ago

rottor commented 8 years ago

Is there any way to disable immersive mode from haxe side? For example, if I want system UI to be shown again if player press some button.

joackobengochea commented 8 years ago

Do you mean like the extension wasn't included? the extension allows you to show the ui when the user triggers it (for example, sliding down the top of the screen) and hides it automatically a few seconds after if there's no more interactions with it.

2015-12-04 14:23 GMT-03:00 Yuri K notifications@github.com:

Is there any way to disable immersive mode from haxe side? For example, if I want system UI to be shown again if player press some button.

— Reply to this email directly or view it on GitHub https://github.com/SempaiGames/extension-android-immersive/issues/2.

rottor commented 8 years ago

Not exactly. I need to use custom trigger from my UI, not the default sliding down the top of the screen and so on.

joackobengochea commented 8 years ago

i don't know if that's possible since that events are handled by the android os... anyway, you can look at the code of this library to see how the events are handled, and try to implement a library for handling custom triggers, or send a pull request to this library adding that functionality

2015-12-08 8:46 GMT-03:00 Yuri K notifications@github.com:

Not exactly. I need to use custom trigger from my UI, not the default sliding down the top of the screen and so on.

— Reply to this email directly or view it on GitHub https://github.com/SempaiGames/extension-android-immersive/issues/2#issuecomment-162859181 .