Package com.banuba.sdk.input
Interface IInput
- All Superinterfaces:
IAttachable
- All Known Implementing Classes:
CameraInput
,PhotoInput
,StreamInput
,VideoInput
-
Method Summary
Modifier and TypeMethodDescriptioncom.banuba.sdk.effect_player.FrameProcessor
Get last available framelong
Get timestamp of the current frame.Methods inherited from interface com.banuba.sdk.input.IAttachable
attach, detach
-
Method Details
-
frameProcessor
@NonNull com.banuba.sdk.effect_player.FrameProcessor frameProcessor()Get last available frame- Returns:
- frameProcessor with filled frameData
-
getFrameTimeNanos
long getFrameTimeNanos()Get timestamp of the current frame.- Returns:
- timestamp
-