How to check if closed captioning is selected on Android accessibility settings -


is possible check if closed captioning enabled user in settings --> accessibility section of android phone? want check if closed captioning enabled/disabled in accessibility.

yes it's possible (since api level 19).

you can check captioning state isenabled() method of captioningmanager.

captioningmanager captioningmanager =                     (captioningmanager) context.getsystemservice(context.captioning_service);  if(captioningmanager.isenabled()){     //do stuff } 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -