About This Guide

You can use the APIs from WebPlatform.js to build Cordova-compliant JavaScript plugins

This API provides abstracts what you require to create custom Cordova plugins you can use on targets running the QNX SDK for Apps and Media. The following table provides a road map of the various APIs available in the webplatform.js file that you many find useful when you build your Cordova plugins.
WebPlatform API Description
Events Handle the registration and deregistration of callback functions for specific event types
Persistent Publish/Subscribe Interface to work with Persistent Publish/Subscribe (PPS) objects
Webview Work with the webview
Webview.rpc Work with RPC within a webview