-
- All Implemented Interfaces:
public interface FullScreenManager
The FullScreenManager which can be used to manage and gather information related to the fullscreen state of the player.
-
-
Method Summary
Modifier and Type Method Description abstract void
requestFullScreen()
Requests the THEOplayer to go fullscreen. abstract void
exitFullScreen()
requests the THEOplayer to exit fullscreen abstract boolean
isFullScreen()
Returns whether the THEOplayerView is in fullscreen. abstract boolean
isFullScreenToggleInProgress()
Returns whether a fullscreen change is still in progress. abstract void
removeFullScreenChangeListener(@NonNull() FullScreenChangeListener fullScreenChangeListener)
Removes the given fullscreenChangeListener. abstract void
addFullScreenChangeListener(@NonNull() FullScreenChangeListener fullScreenChangeListener)
Adds the given FullScreenChangeListener which listens for fullscreen changes. abstract Class<out FullScreenActivity>
getFullscreenActivity()
The class which is set as the FullScreenActivity class. abstract void
setFullscreenActivity(@NonNull() Class<out FullScreenActivity> fullscreenActivityClass)
Sets the FullScreenActivity class to be used. abstract void
addFullScreenIntentCreationListener(@NonNull() IntentCreationListener intentCreationListener)
Adds the given intentCreationListener which listens for the creation of the intent to start the fullscreen activity. abstract void
removeFullScreenIntentCreationListener(@NonNull() IntentCreationListener intentCreationListener)
Removes the given intentCreationListener. -
-
Method Detail
-
requestFullScreen
abstract void requestFullScreen()
Requests the THEOplayer to go fullscreen.
-
exitFullScreen
abstract void exitFullScreen()
requests the THEOplayer to exit fullscreen
-
isFullScreen
abstract boolean isFullScreen()
Returns whether the THEOplayerView is in fullscreen.
Default: false
-
isFullScreenToggleInProgress
abstract boolean isFullScreenToggleInProgress()
Returns whether a fullscreen change is still in progress.
-
removeFullScreenChangeListener
abstract void removeFullScreenChangeListener(@NonNull() FullScreenChangeListener fullScreenChangeListener)
Removes the given fullscreenChangeListener.
- Parameters:
fullScreenChangeListener
- The FullScreenChangeListener to remove.
-
addFullScreenChangeListener
abstract void addFullScreenChangeListener(@NonNull() FullScreenChangeListener fullScreenChangeListener)
Adds the given FullScreenChangeListener which listens for fullscreen changes.
- Parameters:
fullScreenChangeListener
- The FullScreenChangeListener to add.
-
getFullscreenActivity
@NonNull() abstract Class<out FullScreenActivity> getFullscreenActivity()
The class which is set as the FullScreenActivity class.
Default: The FullScreenActivity class.
-
setFullscreenActivity
abstract void setFullscreenActivity(@NonNull() Class<out FullScreenActivity> fullscreenActivityClass)
Sets the FullScreenActivity class to be used.
- Parameters:
fullscreenActivityClass
- The new FullScreenActivity class.
-
addFullScreenIntentCreationListener
abstract void addFullScreenIntentCreationListener(@NonNull() IntentCreationListener intentCreationListener)
Adds the given intentCreationListener which listens for the creation of the intent to start the fullscreen activity.
- Parameters:
intentCreationListener
- The IntentCreationListener to add.
-
removeFullScreenIntentCreationListener
abstract void removeFullScreenIntentCreationListener(@NonNull() IntentCreationListener intentCreationListener)
Removes the given intentCreationListener.
- Parameters:
intentCreationListener
- The IntentCreationListener to remove.
-
-
-
-