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 va 2 s . c o m import java.util.List; public class GetSupportedSelfTimerResponse extends BaseResponse<List<Integer>> { @Override public void validate() throws ValidationException { super.validate(); if (isOk()) { List<Integer>[] result = getResult(); if (result.length != 1) { throw new IllegalResultSizeException(1, result.length); } } } public List<Integer> getTimers() { return getResult()[0]; } @Override public String toString() { return getTimers().toString(); } }