The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
This function is deprecated. It is equivalent to isEnabled()
Use isWindow() instead.
Use window() instead.