Data class used to return the capture state to the client. It will unparcel the data out of a bundle that was sent across the binder.
Public Method Summary
int |
getCaptureMode()
Returns the capture mode of the current capture.
|
int |
getCaptureQuality()
Returns the quality level of the current capture.
|
boolean |
isCapturing()
Returns whether the service is currently capturing or not.
|
boolean |
isOverlayVisible()
Returns whether the capture overlay is currently visible or not.
|
boolean |
isPaused()
Returns whether the capture is currently paused or not.
|
String |
toString()
|
Inherited Method Summary
Public Methods
public int getCaptureMode ()
Returns the capture mode of the current capture. One of
VideoConfiguration.CAPTURE_MODE_FILE
,
VideoConfiguration.CAPTURE_MODE_STREAM
, or
VideoConfiguration.CAPTURE_MODE_STREAM
when not capturing.
public int getCaptureQuality ()
Returns the quality level of the current capture. One of
VideoConfiguration.QUALITY_LEVEL_FULLHD
,
VideoConfiguration.QUALITY_LEVEL_XHD
,
VideoConfiguration.QUALITY_LEVEL_HD
,
VideoConfiguration.QUALITY_LEVEL_SD
, or
VideoConfiguration.QUALITY_LEVEL_UNKNOWN
when not capturing.
public boolean isCapturing ()
Returns whether the service is currently capturing or not.
public boolean isOverlayVisible ()
Returns whether the capture overlay is currently visible or not. This also indicates the capture overlay is being used by the user and background capture will fail.
public boolean isPaused ()
Returns whether the capture is currently paused or not. Will always be
false
if
isCapturing()
if false
.