Class (FullScreenExitHandler)

Implements the FullScreenExitHandler object to notify you that the Web component exits full screen mode. For details about the sample code, see onFullScreenEnter.

NOTE

  • The initial APIs of this component are supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version.

  • The initial APIs of this class are supported since API version 9.

  • The sample effect is subject to the actual device.

constructor9+

constructor()

Constructs a FullScreenExitHandler API.

System capability: SystemCapability.Web.Webview.Core

exitFullScreen9+

exitFullScreen(): void

Exits full screen mode.

System capability: SystemCapability.Web.Webview.Core