I try detect orientation event on native platform and found this:
Can anyone guide me how to use??
Well, you can edit this file, add some static method and call it from TS/JS via jsb
or native
according your CC version.
But probably you will need a correct name of Activity
to call method via jsb
or native
.