static waitForInterface (fcn) {
        // Already loaded the interface
        if (tabletInterface != null) {
            fcn();
            return;
        }
        if ((isAndroid && typeof AndroidInterface === 'undefined') || (isiOS && typeof (window.tablet) !== 'object')) {
            // interface not loaded - come back in 100ms
            setTimeout(function () {
                OS.waitForInterface(fcn);
            }, 100);
        }

        tabletInterface = isiOS ? iOS : Android;
        if (fcn) {
            fcn();
        }
        return;
    }
// Wait for the tablet interface to be injected into the webview
Wait for the tablet interface to be injected into the webview
Wait for the tablet interface to be injected into the webview
static waitForInterface (fcn) {
        if (tabletInterface != null) {
            fcn();
            return;
        }
        if ((isAndroid && typeof AndroidInterface === 'undefined') || (isiOS && typeof (window.tablet) !== 'object')) {
            setTimeout(function () {
                OS.waitForInterface(fcn);
            }, 100);
        }
        tabletInterface = isiOS ? iOS : Android;
        if (fcn) {
            fcn();
        }
        return;
    }
static waitForInterface ( fcn ) { if ( tabletInterface != null ) { fcn ( ) ; return ; } if ( ( isAndroid && typeof AndroidInterface === 'undefined' ) || ( isiOS && typeof ( window . tablet ) !== 'object' ) ) { setTimeout ( function ( ) { OS . waitForInterface ( fcn ) ; } , 100 ) ; } tabletInterface = isiOS ? iOS : Android ; if ( fcn ) { fcn ( ) ; } return ; }
Wait for the tablet interface to be injected into the webview
Wait for the tablet interface to be injected into the webview
// Already loaded the interface // interface not loaded - come back in 100ms