Native Function API Developer's Guide:Introducing the Native Function API
Native Function APIs
Most developers use Iris and Volt MX APIs to rapidly build cross platform, omni-channel applications. These APIs cover most of the functionality needed by applications, and allow them to be built for all platforms from one code base.
Understanding the Native Function APIs
For more information click the required link to view:
For information on the functionality that these APIs wrap you should refer to the API documentation provided by Apple and Google. Links to these source topics are provided in the Native Function API reference, and can also be found in the links below.
Using the Native Function APIs
For a more hands-on approach on how Native Function APIs are implemented, import and understand the implementation of the Barcode Scanner NFI app by using Volt MX Iris.
In general, you need to follow these steps to build applications that use the Native Function APIs:
- Create a new project in Volt MX Iris.
- Add user interface elements as needed to your project.
- Create Third-party Native Bindings - Please contact the Support team to get more info on how to generate Native bindings.
- Add the appropriate frameworks to your project. See: Add or Import Native Function APIs
- In that file, import the classes you wish to use. See: Accessing classes.
- Instantiate the class (Not needed for static methods).
- Use the methods associated with the class.
- Build your application.
- Run your application on a device or in a device emulator. (Not in the Iris Preview Application).
For more detail, see: