UNPKG

react-native-orientation-bits

Version:

A react-native module that can listen on orientation changing of device, get current orientation, lock to preferred orientation.

24 lines (20 loc) 1.22 kB
======================================================================== C++/WinRT OrientationWindows Project Overview ======================================================================== This project demonstrates how to get started authoring Windows Runtime classes directly with standard C++, using the C++/WinRT SDK component to generate implementation headers from interface (IDL) files. The generated Windows Runtime component binary and WinMD files should then be bundled with the Universal Windows Platform (UWP) app consuming them. Steps: 1. Create an interface (IDL) file to define your Windows Runtime class, its default interface, and any other interfaces it implements. 2. Build the project once to generate module.g.cpp, module.h.cpp, and implementation templates under the "Generated Files" folder, as well as skeleton class definitions under "Generated Files\sources". 3. Use the skeleton class definitions for reference to implement your Windows Runtime classes. ======================================================================== Learn more about C++/WinRT here: http://aka.ms/cppwinrt/ ========================================================================