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; /* ww w . j ava 2s . c om*/ import java.util.List; public class GetAvailableApiListResponse 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> getApiList() { return getResult()[0]; } @Override public String toString() { return getResult()[0].toString(); } }