Camera
Kit
com.
snap.
camerakit
ar
Core
Input()
Audio
Processor
connect
Input()
connect
Output
Experimental
Image
Processor
input
Frame
From()
input
From
Legal
Processor
Location
Processor
Media
Processor
media
Store
Source
For()
microphone
Source
For()
new
Builder()
output
From
process
Bitmap()
process
Image()
Processor
Safe
Render
Area
Processor
Session
Source
source
From()
supported()
to
Bitmap()
Unauthorized
Application
Exception
User
Processor
Version
version
From()
com.
snap.
camerakit.
adjustments
Adaptive
Tone
Mapping
Adjustment
Adjustments
Component
Portrait
Adjustment
when
Applied()
com.
snap.
camerakit.
common
Consumer
com.
snap.
camerakit.
lenses
L
E
N
S_
G
R
O
U
P_
I
D_
B
U
N
D
L
E
D
Lenses
Component
when
Activated()
when
Activated
Idle()
when
Activated
With
Lens()
when
Applied()
when
Deactivated()
when
First
Frame
Processed()
when
Has
First()
when
Has
Some()
when
Idle()
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
.
On this page
On this page
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.
On this page
On this page
Inheritors
Session
Link copied to clipboard
LensesComponent
Link copied to clipboard
On this page
On this page