Class MetadataRenderer

    • Constructor Detail

      • MetadataRenderer

        public MetadataRenderer​(MetadataOutput output,
                                @Nullable
                                Looper outputLooper)
        Parameters:
        output - The output.
        outputLooper - The looper associated with the thread on which the output should be called. If the output makes use of standard Android UI components, then this should normally be the looper associated with the application's main thread, which can be obtained using ContextWrapper.getMainLooper(). Null may be passed if the output should be called directly on the player's internal rendering thread.
      • MetadataRenderer

        public MetadataRenderer​(MetadataOutput output,
                                @Nullable
                                Looper outputLooper,
                                MetadataDecoderFactory decoderFactory)
        Parameters:
        output - The output.
        outputLooper - The looper associated with the thread on which the output should be called. If the output makes use of standard Android UI components, then this should normally be the looper associated with the application's main thread, which can be obtained using ContextWrapper.getMainLooper(). Null may be passed if the output should be called directly on the player's internal rendering thread.
        decoderFactory - A factory from which to obtain MetadataDecoder instances.