ICameraControl

interface ICameraControl

This is interface used to control Device camera

Functions

Link copied to clipboard
abstract fun enableTorch(torch: Boolean)
This method is used to make enable or disable torch
Link copied to clipboard
abstract fun hasFlashUnit(): Boolean
This method is return device have torch hardware
Link copied to clipboard
abstract fun isTorchEnabled(): Boolean
This method is return device torch state enabled or disable
Link copied to clipboard
abstract fun lineZoomIn()
This method is used to make camera linear zoom in by 1.
Link copied to clipboard
abstract fun lineZoomOut()
This method is used to make camera linear zoom out by 1.
Link copied to clipboard
abstract fun lineZoomTo(@FloatRange(from = 0.0, to = 1.0) linearZoom: Float)
This method is used to make camera linear zoom to passed ratio from 0.1F to 1.
Link copied to clipboard
abstract fun zoomIn()
This method is used to make camera zoomin
Link copied to clipboard
abstract fun zoomOut()
This method is used to make camera zoomout
Link copied to clipboard
abstract fun zoomTo(ratio: Float)
This method is used to make camera zoom to passed ratio

Inheritors

Link copied to clipboard
Link copied to clipboard