BaseFullscreenHandler
open class BaseFullscreenHandler : FullscreenHandler
AmpCore
‘s base implementation of the FullscreenHandler
This can be inherited to add more functionalities
-
Clears up references to avoid memory leaks
Declaration
Swift
public func clear()
-
Declaration
Swift
public var fullscreenManager: FullscreenManager!
-
Creates a new instance of the
BaseFullscreenHandler
with unassigned propertiesDeclaration
Swift
public init()
-
Handles the fullscreen response of an app rotation event
By default
BaseFullscreenHandler
won’t switch fullscreen mode based on rotationDeclaration
Swift
open func handleRotation()
-
Handles the UI changes to toggle the player viewer from inline view to fullscreen
Declaration
Swift
open func enterFullscreen()
-
Handles the UI changes to toggle the player viewer from fullscreen to inline view
Declaration
Swift
open func exitFullscreen()