CaptureState

public final class CaptureState extends Object

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
int
boolean
boolean
boolean
String

Inherited Method Summary

Public Methods

public int getCaptureMode ()

Returns

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.

public String toString ()