FunctionsaddVisibilityChangeListeneraddVisibilityChangeListener CallableaddVisibilityChangeListener(...args: [callback: (result: VisibilityChangeListenerResult) => void]): Promise<number>This method will be executed when the page gets displayed or hidden.Parametersrest...args: [callback: (result: VisibilityChangeListenerResult) => void]Returns Promise<number>
This method will be executed when the page gets displayed or hidden.