Interface THEOplayerSettings

  • All Implemented Interfaces:

    
    public interface THEOplayerSettings
    
                        

    The THEOplayerSettings API.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void setAllowBackgroundPlayback(boolean allowBackgroundPlayback) Sets whether the player continues play-out while the app goes to the background, defaults to `false`.
      abstract boolean allowBackgroundPlayback() Whether the player continues play-out while the app goes to the background, defaults to `false`.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • setAllowBackgroundPlayback

         abstract void setAllowBackgroundPlayback(boolean allowBackgroundPlayback)

        Sets whether the player continues play-out while the app goes to the background, defaults to `false`.

        • When this option is set to true, the player will not pause play-out when the app goes to the background.
        • Note that when this option is enabled the player should be contained in a Service to allow the device to continue serving media and ensure a smooth and uninterrupted playback experience while the app is not in the foreground. For more information, please refer to Play media in the background
        Parameters:
        allowBackgroundPlayback - Whether background playback is enabled.
      • allowBackgroundPlayback

         abstract boolean allowBackgroundPlayback()

        Whether the player continues play-out while the app goes to the background, defaults to `false`.