public interface FullScreenManager
Modifier and Type | Method and Description |
---|---|
void |
addFullScreenChangeListener(FullScreenChangeListener fullScreenChangeListener)
Adds the given FullScreenChangeListener which listens for fullscreen changes.
|
void |
addFullScreenIntentCreationListener(IntentCreationListener intentCreationListener)
Adds the given intentCreationListener which listens for the creation of the intent to start the fullscreen activity.
|
void |
exitFullScreen()
requests the THEOplayer to exit fullscreen
|
Class<? extends FullScreenActivity> |
getFullscreenActivity()
The class which is set as the
FullScreenActivity class. |
boolean |
isFullScreen()
Returns whether the THEOplayerView is in fullscreen.
|
boolean |
isFullScreenToggleInProgress()
Returns whether a fullscreen change is still in progress.
|
void |
removeFullScreenChangeListener(FullScreenChangeListener fullScreenChangeListener)
Removes the given fullscreenChangeListener.
|
void |
removeFullScreenIntentCreationListener(IntentCreationListener intentCreationListener)
Removes the given intentCreationListener.
|
void |
requestFullScreen()
Requests the THEOplayer to go fullscreen.
|
void |
setFullscreenActivity(Class<? extends FullScreenActivity> fullscreenActivityClass)
Sets the
FullScreenActivity class to be used. |
void requestFullScreen()
void exitFullScreen()
boolean isFullScreen()
boolean isFullScreenToggleInProgress()
void removeFullScreenChangeListener(FullScreenChangeListener fullScreenChangeListener)
fullScreenChangeListener
- The FullScreenChangeListener to remove. (NonNull)void addFullScreenChangeListener(FullScreenChangeListener fullScreenChangeListener)
fullScreenChangeListener
- The FullScreenChangeListener to add.Class<? extends FullScreenActivity> getFullscreenActivity()
FullScreenActivity
class.FullScreenActivity
class. (NonNull)FullScreenActivity
class.void setFullscreenActivity(Class<? extends FullScreenActivity> fullscreenActivityClass)
FullScreenActivity
class to be used.fullscreenActivityClass
- The new FullScreenActivity
class. (NonNull)void addFullScreenIntentCreationListener(IntentCreationListener intentCreationListener)
intentCreationListener
- The IntentCreationListener to add. (NonNull)void removeFullScreenIntentCreationListener(IntentCreationListener intentCreationListener)
intentCreationListener
- The IntentCreationListener to remove. (NonNull)