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; //www.j a v a 2 s .com import java.util.List; public class GetVersionsResponse extends BaseResponse<List<String>> { @Override public void validate() throws ValidationException { super.validate(); if (isOk()) { List<String>[] result = getResult(); if (result.length != 1) { throw new IllegalResultSizeException(1, result.length); } } } public List<String> getSupportedVersions() { return getResult()[0]; } }