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.
| 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()
|
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.
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.
Returns whether the service is currently capturing or not.
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.
Returns whether the capture is currently paused or not. Will always be
false if
isCapturing() if false.