public final class StartCaptureResponse extends Response
Constructor and Description |
---|
StartCaptureResponse(Result result)
Constructs with the specified result.
|
StartCaptureResponse(Result result,
Capture capture)
Constructs with the specified result and capture.
|
StartCaptureResponse(Result result,
Error error,
Capture capture)
Constructs with the specified result, error and capture.
|
StartCaptureResponse(Result result,
java.util.List<Error> errors)
Constructs with the specified result and errors.
|
StartCaptureResponse(Result result,
java.util.List<Error> errors,
Capture capture)
Constructs with the specified result, errors and capture.
|
Modifier and Type | Method and Description |
---|---|
Capture |
getCapture()
Returns the capture.
|
public StartCaptureResponse(Result result)
result
- The resultpublic StartCaptureResponse(Result result, java.util.List<Error> errors)
result
- The resulterrors
- The errorspublic StartCaptureResponse(Result result, Capture capture)
result
- The resultcapture
- The capturepublic StartCaptureResponse(Result result, java.util.List<Error> errors, Capture capture)
result
- The resulterrors
- The errorscapture
- The capturepublic Capture getCapture()
null
if the result is Result.ERROR.