Functions

Link copied to clipboard
abstract fun finalizePoolObject()
Finalization method.
Link copied to clipboard
@NonNull
abstract fun getFormat(): CameraDataFormat
returns the format of the frame
Link copied to clipboard
abstract fun getFrameID(): Long
Returns the unique frame identifier
Link copied to clipboard
abstract fun getFrameQuality(): Double
Returns the quality of the current frame.
Link copied to clipboard
abstract fun getHeight(): Int
returns the height of the frame
Link copied to clipboard
abstract fun getNativeCameraFrame(): Long
Accessed from native code to obtain pointer to implementation of native camera frame
Link copied to clipboard
@Nullable
abstract fun getOrientation(): Orientation
Returns the orientation of the current frame.
Link copied to clipboard
@Nullable
abstract fun getVisiblePart(): RectF
returns the region that defines the visible part of frame
Link copied to clipboard
abstract fun getWidth(): Int
returns the width of the frame
Link copied to clipboard
abstract fun initializeNativePart(frameAnalyzersPtr: Long): Boolean
Initializes native part of camera frame implementation.
Link copied to clipboard
abstract fun initializePoolObject()
Initialization method.
Link copied to clipboard
abstract fun isDeviceMoving(): Boolean
returns true if device was moving while frame was created
Link copied to clipboard
abstract fun isFocused(): Boolean
returns true if camera thinks this frame is focused
Link copied to clipboard
abstract fun isPhoto(): Boolean
Returns true if frame is photograph
Link copied to clipboard
abstract fun recycle()
Used for recycling frame buffer back into camera so its buffer can be reused for new camera frame.
Link copied to clipboard
abstract fun setOrientation(@NonNull orientation: Orientation)
Sets the orientation of the current frame.
Link copied to clipboard
abstract fun setVisiblePart(@NonNull visiblePart: RectF)
sets the region that defines the visible part of frame