-
- All Implemented Interfaces:
public interface FullScreenManagerThe 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 voidrequestFullScreen()Requests the THEOplayer to go fullscreen. abstract voidexitFullScreen()requests the THEOplayer to exit fullscreen abstract booleanisFullScreen()Returns whether the THEOplayerView is in fullscreen. abstract booleanisFullScreenToggleInProgress()Returns whether a fullscreen change is still in progress. abstract voidremoveFullScreenChangeListener(@NonNull() FullScreenChangeListener fullScreenChangeListener)Removes the given fullscreenChangeListener. abstract voidaddFullScreenChangeListener(@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 voidsetFullscreenActivity(@NonNull() Class<out FullScreenActivity> fullscreenActivityClass)Sets the FullScreenActivity class to be used. abstract voidaddFullScreenIntentCreationListener(@NonNull() IntentCreationListener intentCreationListener)Adds the given intentCreationListener which listens for the creation of the intent to start the fullscreen activity. abstract voidremoveFullScreenIntentCreationListener(@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.
-
-
-
-