DefaultGlFrameProcessor.Factory


@RequiresApi(value = 26)
class DefaultGlFrameProcessor.Factory : FrameProcessor.Factory


A FrameProcessor.Factory that creates DefaultGlFrameProcessor instances.

Summary

Nested types

A builder for Factory instances.

Public functions

DefaultGlFrameProcessor!
create(
    output: FrameWriter!,
    listenerExecutor: Executor!,
    listener: FrameProcessor.Listener!
)

Creates a FrameProcessor that sends frames to the given FrameWriter.

Public functions

create

fun create(
    output: FrameWriter!,
    listenerExecutor: Executor!,
    listener: FrameProcessor.Listener!
): DefaultGlFrameProcessor!

Creates a FrameProcessor that sends frames to the given FrameWriter.

The created FrameProcessor does not close the passed in FrameWriter.

Parameters
output: FrameWriter!

The FrameWriter to which the FrameProcessor outputs.

listenerExecutor: Executor!

The Executor on which the listener is invoked.

listener: FrameProcessor.Listener!

A Listener to be invoked for FrameProcessor events.