What is MobileAccessibility.isBoldTextEnabled(callback)?

Report
Question
8 views

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

Report Cancel

Makes an asynchronous call to native MobileAccessibility to determine if Bold Text is enabled.

Parameters

callback (Function) A callback method to receive the boolean result asynchronously from the native MobileAccessibility plugin.

Usage
    function isBoldTextEnabledCallback(boolean) {
        if (boolean) {
            console.log("Bold Text: ON");
            // Do something to improve the behavior of the application while Bold Text is enabled.
        } else {
            console.log("Bold Text: OFF");
        }
    }

    MobileAccessibility.isBoldTextEnabled(isBoldTextEnabledCallback);
Please follow and like us:

About the Author