If you think the Android project photo-picker-plus-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/**
* The MIT License (MIT)/*fromwww.java2s.com*/
Copyright (c) 2013 Chute
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/package com.getchute.android.photopickerplus.config;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*
* The following class represents the concept of the response retrieved from the
* server and wrapped in {@link ServiceResponseModel}.
*
* Each {@link ServiceResponseModel} contains a list of local and a list of
* remote services.
*
*/publicclass ServiceResponseModel {
/**
* List of remote services.
*
* The list can contain: facebook, flickr, picasa, instagram, google,
* googledrive, skydrive, dropbox and youtube.
*/
@JsonProperty("services")
private List<String> services;
/**
* List of local services.
*
* The list can contain: all_media, take_photo, last_photo_taken,
* last_video_captured, record_video and camera_media.
*/
@JsonProperty("local_features")
private List<String> localFeatures;
public List<String> getServices() {
return services;
}
publicvoid setServices(List<String> services) {
this.services = services;
}
public List<String> getLocalFeatures() {
return localFeatures;
}
publicvoid setLocalFeatures(List<String> localFeatures) {
this.localFeatures = localFeatures;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("ServiceResponseModel [services=");
builder.append(services);
builder.append(", localFeatures=");
builder.append(localFeatures);
builder.append("]");
return builder.toString();
}
}