The callback that is invoked when an orientation change occurs that the app must respond to.


#include <glview/glview.h>
typedef void(* resize_callback)(unsigned int width,
             unsigned int height,
             void *callback_data);


BlackBerry 10.0.0


libglview (For the qcc command, use the -l glview option to link against this library)


The application descriptor file (bar-descriptor.xml) specifies the orientation behavior for an app. If the behavior is set to default or auto-orient, then any registered resize_callback will be invoked whenever the device is turned from landscape to portrait or vice-versa. Turning the device 180 degrees does not result in executing the resize_callback.

Last modified: 2014-09-30

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus