public interface CaptureSession extends Observable<CaptureSessionStopped>
Modifier and Type | Method and Description |
---|---|
boolean |
isActive()
Indicates whether this capture session is active.
|
CaptureSource |
source()
Returns the
CaptureSource instance for this capture session. |
void |
stop()
Stops capturing.
|
on
void stop()
This method has no effect when this capture session is already stopped.
CaptureSource source()
CaptureSource
instance for this capture session.boolean isActive()
true
if this capture session is active.