cameraViewEx
Module Contents
alltypes
Module Contents
class AspectRatio : Comparable<AspectRatio>
class AspectRatioInstrumentationTest
class AspectRatioIsCloseTo
class AspectRatioTest
class CameraView
Module Contents
CameraView(context: <ERROR CLASS>, attrs: <ERROR CLASS>? = null, defStyleAttr: Int = 0)
data class SavedState
Module Contents
SavedState(parcelable: <ERROR CLASS>, cameraMode: Int, outputFormat: Int, facing: Int, ratio: AspectRatio, autoFocus: Boolean, touchToFocus: Boolean, awb: Int, flash: Int, opticalStabilization: Boolean, noiseReduction: Int, shutter: Int, zsl: Boolean)
SavedState(parcelable: <ERROR CLASS>, cameraMode: Int, outputFormat: Int, facing: Int, ratio: <ERROR CLASS>, autoFocus: Boolean, touchToFocus: Boolean, awb: Int, flash: Int, opticalStabilization: Boolean, noiseReduction: Int, shutter: Int, zsl: Boolean)
val autoFocus: Boolean
val awb: Int
val cameraMode: Int
val facing: Int
val flash: Int
val noiseReduction: Int
val opticalStabilization: Boolean
val outputFormat: Int
val parcelable: <ERROR CLASS>
val ratio: AspectRatio
val shutter: Int
val touchToFocus: Boolean
val zsl: Boolean
fun addCameraClosedListener(listener: () -> Unit): CameraView
fun addCameraErrorListener(listener: (t: Throwable) -> Unit): CameraView
fun addCameraOpenedListener(listener: () -> Unit): CameraView
fun addPictureTakenListener(listener: (imageData: ByteArray) -> Unit): CameraView
var adjustViewBounds: Boolean
var aspectRatio: AspectRatio
var autoFocus: Boolean
var awb: Int
var cameraMode: Int
fun capture(): Unit
var facing: Int
var flash: Int
val isCameraOpened: Boolean
var noiseReduction: Int
fun onAttachedToWindow(): Unit
fun onDetachedFromWindow(): Unit
fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int): Unit
fun onRestoreInstanceState(state: <ERROR CLASS>?): Unit
fun onSaveInstanceState(): <ERROR CLASS>?
var opticalStabilization: Boolean
var outputFormat: Int
fun removeAllListeners(): Unit
fun removeCameraClosedListener(listener: () -> Unit): CameraView
fun removeCameraErrorListener(listener: (Throwable) -> Unit): CameraView
fun removeCameraOpenedListener(listener: () -> Unit): CameraView
fun removePictureTakenListener(listener: (ByteArray) -> Unit): CameraView
fun removePreviewFrameListener(): CameraView
fun setPreviewFrameListener(listener: (<ERROR CLASS>) -> Unit): CameraView
var shutter: Int
fun start(): Unit
fun stop(removeAllListeners: Boolean = false): Unit
val supportedAspectRatios: Set<AspectRatio>
var zsl: Boolean
class CameraViewActivity
class CameraViewTest : GrantPermissionsRule
open class GrantPermissionsRule
object Modes
Module Contents
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class AutoWhiteBalance
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class CameraMode
const val DEFAULT_ADJUST_VIEW_BOUNDS: Boolean
val DEFAULT_ASPECT_RATIO: AspectRatio
const val DEFAULT_AUTO_FOCUS: Boolean
const val DEFAULT_AWB: Int
const val DEFAULT_CAMERA_MODE: Int
const val DEFAULT_FACING: Int
const val DEFAULT_FLASH: Int
const val DEFAULT_NOISE_REDUCTION: Int
const val DEFAULT_OPTICAL_STABILIZATION: Boolean
const val DEFAULT_OUTPUT_FORMAT: Int
const val DEFAULT_SHUTTER: Int
const val DEFAULT_ZSL: Boolean
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class Facing
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class Flash
const val LANDSCAPE_270: Int
const val LANDSCAPE_90: Int
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class NoiseReduction
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class OutputFormat
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class Shutter
sealed class Orientation
class Size : Comparable<Size>
class SizeMapTest
class SizeTest
package com.priyankvasa.android.cameraviewex
Module Contents
class AspectRatio : Comparable<AspectRatio>
class AspectRatioInstrumentationTest
class AspectRatioIsCloseTo
class AspectRatioTest
class CameraView
Module Contents
CameraView(context: <ERROR CLASS>, attrs: <ERROR CLASS>? = null, defStyleAttr: Int = 0)
data class SavedState
Module Contents
SavedState(parcelable: <ERROR CLASS>, cameraMode: Int, outputFormat: Int, facing: Int, ratio: AspectRatio, autoFocus: Boolean, touchToFocus: Boolean, awb: Int, flash: Int, opticalStabilization: Boolean, noiseReduction: Int, shutter: Int, zsl: Boolean)
SavedState(parcelable: <ERROR CLASS>, cameraMode: Int, outputFormat: Int, facing: Int, ratio: <ERROR CLASS>, autoFocus: Boolean, touchToFocus: Boolean, awb: Int, flash: Int, opticalStabilization: Boolean, noiseReduction: Int, shutter: Int, zsl: Boolean)
val autoFocus: Boolean
val awb: Int
val cameraMode: Int
val facing: Int
val flash: Int
val noiseReduction: Int
val opticalStabilization: Boolean
val outputFormat: Int
val parcelable: <ERROR CLASS>
val ratio: AspectRatio
val shutter: Int
val touchToFocus: Boolean
val zsl: Boolean
fun addCameraClosedListener(listener: () -> Unit): CameraView
fun addCameraErrorListener(listener: (t: Throwable) -> Unit): CameraView
fun addCameraOpenedListener(listener: () -> Unit): CameraView
fun addPictureTakenListener(listener: (imageData: ByteArray) -> Unit): CameraView
var adjustViewBounds: Boolean
var aspectRatio: AspectRatio
var autoFocus: Boolean
var awb: Int
var cameraMode: Int
fun capture(): Unit
var facing: Int
var flash: Int
val isCameraOpened: Boolean
var noiseReduction: Int
fun onAttachedToWindow(): Unit
fun onDetachedFromWindow(): Unit
fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int): Unit
fun onRestoreInstanceState(state: <ERROR CLASS>?): Unit
fun onSaveInstanceState(): <ERROR CLASS>?
var opticalStabilization: Boolean
var outputFormat: Int
fun removeAllListeners(): Unit
fun removeCameraClosedListener(listener: () -> Unit): CameraView
fun removeCameraErrorListener(listener: (Throwable) -> Unit): CameraView
fun removeCameraOpenedListener(listener: () -> Unit): CameraView
fun removePictureTakenListener(listener: (ByteArray) -> Unit): CameraView
fun removePreviewFrameListener(): CameraView
fun setPreviewFrameListener(listener: (<ERROR CLASS>) -> Unit): CameraView
var shutter: Int
fun start(): Unit
fun stop(removeAllListeners: Boolean = false): Unit
val supportedAspectRatios: Set<AspectRatio>
var zsl: Boolean
class CameraViewActivity
class CameraViewTest : GrantPermissionsRule
open class GrantPermissionsRule
object Modes
Module Contents
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class AutoWhiteBalance
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class CameraMode
const val DEFAULT_ADJUST_VIEW_BOUNDS: Boolean
val DEFAULT_ASPECT_RATIO: AspectRatio
const val DEFAULT_AUTO_FOCUS: Boolean
const val DEFAULT_AWB: Int
const val DEFAULT_CAMERA_MODE: Int
const val DEFAULT_FACING: Int
const val DEFAULT_FLASH: Int
const val DEFAULT_NOISE_REDUCTION: Int
const val DEFAULT_OPTICAL_STABILIZATION: Boolean
const val DEFAULT_OUTPUT_FORMAT: Int
const val DEFAULT_SHUTTER: Int
const val DEFAULT_ZSL: Boolean
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class Facing
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class Flash
const val LANDSCAPE_270: Int
const val LANDSCAPE_90: Int
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class NoiseReduction
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class OutputFormat
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER]) annotation class Shutter
sealed class Orientation
class Size : Comparable<Size>
class SizeMapTest
class SizeTest