Interface THEOplayerGlobal

    • Constructor Detail

    • Method Detail

      • getCache

        @NonNull() abstract Cache getCache()

        The cache.

        Returns:

        A reference to the cache. (Nullable)

      • getSsl

        @NonNull() abstract SslSettings getSsl()

        The settings of the Secure Socket Layer.

        Returns:

        The settings of the Secure Socket Layer. (NonNull)

      • getLogger

        @NonNull() abstract Logger getLogger()

        The Logger API that can be used to gather more information on the player internal behaviour.

        • Recommended to be only used in debug mode or for specific use cases.
        Returns:

        The Logger API. (NonNull)

      • registerContentProtectionIntegration

         abstract void registerContentProtectionIntegration(@NonNull() String integrationId, @NonNull() KeySystemId keySystemId, @NonNull() ContentProtectionIntegrationFactory integrationFactory)

        Register a ContentProtectionIntegrationFactory for a specific integration id and a specific keySystem.

        Parameters:
        integrationId - The name of the integration which is being defined.
        keySystemId - The name of the DRM key system to be used.
        integrationFactory - The factory to get an implementation of ContentProtectionIntegration.
      • getVersion

         static String getVersion()

        The THEOplayer version used.

        Example:

        • "2.67.0"
        Since:

        v3.5.0