What is MobileAccessibility.postNotification(mobileAccessibilityNotification, string, callback)?


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

Report Cancel

Posts a notification with a string for the screen reader to announce if it is running.


mobileAccessibilityNotification (uint) A numeric constant for the type of notification to send. Constants are defined in MobileAccessibilityNotifications.

string (string) A string to be announced by a screen reader.

callback (function) A callback method to receive the asynchronous result from the native MobileAccessibility, when the announcement is finished, the function should expect an object containing the stringValue that was voiced and a boolean indicating that the announcement wasSuccessful.

Please follow and like us:

About the Author