Class VisibilityChangeData


  • public class VisibilityChangeData
    extends java.lang.Object
    The VisibilityChangeAction is used to notify current page/tab's visibility state. Only worked if the browser support HTML 5 Page Visibility API.

    This action is sent if and only if it is registered to a root component.

    Author:
    jumperchen
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getVisibilityState()
      Return the current page's visibility state.
      boolean isHidden()
      Return the current page is hidden or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VisibilityChangeData

        public VisibilityChangeData()
    • Method Detail

      • getVisibilityState

        public java.lang.String getVisibilityState()
        Return the current page's visibility state.

        Refer to HTML 5 Page Visibility API for more information.

      • isHidden

        public boolean isHidden()
        Return the current page is hidden or not.

        Refer to HTML 5 Page Visibility API for more information.