What is MobileAccessibility.getTextZoom(callback)?

Report
Question
13 views

Please explain why do you think this question should be reported?

Report Cancel

Makes an asynchronous call to native MobileAccessibility to return the current text zoom percent value for the WebView.

Parameters

callback (Function) A callback method to receive the text zoom percent value asynchronously from the native MobileAccessibility plugin.

Usage
    function getTextZoomCallback(textZoom) {
        console.log('Current text zoom = ' + textZoom + '%')
    }

    MobileAccessibility.getTextZoom(getTextZoomCallback);
Please follow and like us:

About the Author