Back to project page sony-camera-remote-java.
The source code is released under:
Apache License
If you think the Android project sony-camera-remote-java listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.praetoriandroid.cameraremote.rpc; // w ww .j a v a2s . com public class ActTakePictureResponse extends BaseResponse<String[]> { @Override public void validate() throws ValidationException { super.validate(); String[][] result = getResult(); if (isOk()) { if (result.length != 1) { throw new IllegalResultSizeException(1, result.length); } } } public boolean capturingInProgress() { return !isOk() && getErrorCode() == ERROR_STILL_CAPTURING_NOT_FINISHED; } public String[] getUrls() { return getResult()[0]; } }