CameraKit
/
com.snap.camerakit
/
MediaProcessor
Media
Processor
interface
MediaProcessor
:
Processor
Content copied to clipboard
Defines a
Processor
that subscribes to
MediaProcessor.Input
to receive
Media
data.
Since
1.6.0
Types
Functions
Inheritors
Types
Input
Link copied to clipboard
interface
Input
Content copied to clipboard
Defines the media input model that is available to be read from by the processor.
Media
Link copied to clipboard
sealed class
Media
Content copied to clipboard
Defines all media types accepted by
MediaProcessor
.
Functions
connectInput
Link copied to clipboard
@
CheckResult
()
abstract fun
connectInput
(input:
MediaProcessor.Input
):
Closeable
Content copied to clipboard
Connects the provided
input
to this processor and returns a
Closeable
to release the connection when required.
Inheritors
Session
Link copied to clipboard
LensesComponent
Link copied to clipboard