CameraKit
/
com.snap.camerakit
/
Source
Source
interface
Source
<
P
:
Processor
>
Content copied to clipboard
Defines a provider of generic inputs that a
Processor
of type
P
can be attached to process over.
Types
Functions
Inheritors
Types
Noop
Link copied to clipboard
object
Noop
:
Source
<
Processor
>
Content copied to clipboard
Convenience implementation of
Source
which does nothing when a
Processor
is provided to be attached.
Functions
attach
Link copied to clipboard
@
CheckResult
()
abstract fun
attach
(processor:
P
):
Closeable
Content copied to clipboard
Attaches the provided
processor
and returns a
Closeable
to release the connection once required.
Inheritors
Source
Link copied to clipboard