public final class

PreviewingSingleInputVideoGraph.Factory

extends java.lang.Object

implements PreviewingVideoGraph.Factory

 java.lang.Object

↳androidx.media3.effect.PreviewingSingleInputVideoGraph.Factory

Overview

A factory for creating a PreviewingSingleInputVideoGraph.

Summary

Constructors
publicFactory()

Creates a new factory that uses the DefaultVideoFrameProcessor.Factory with its default values.

publicFactory(VideoFrameProcessor.Factory videoFrameProcessorFactory)

Creates an instance that uses the supplied videoFrameProcessorFactory to create VideoFrameProcessor instances.

Methods
public PreviewingVideoGraphcreate(Context context, ColorInfo outputColorInfo, DebugViewProvider debugViewProvider, VideoGraph.Listener listener, java.util.concurrent.Executor listenerExecutor, java.util.List<Effect> compositionEffects, long initialTimestampOffsetUs)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Factory()

Creates a new factory that uses the DefaultVideoFrameProcessor.Factory with its default values.

public Factory(VideoFrameProcessor.Factory videoFrameProcessorFactory)

Creates an instance that uses the supplied videoFrameProcessorFactory to create VideoFrameProcessor instances.

Methods

public PreviewingVideoGraph create(Context context, ColorInfo outputColorInfo, DebugViewProvider debugViewProvider, VideoGraph.Listener listener, java.util.concurrent.Executor listenerExecutor, java.util.List<Effect> compositionEffects, long initialTimestampOffsetUs)