Back to project page java_mega_api.
The source code is released under:
GNU General Public License
If you think the Android project java_mega_api 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 org.danbrough.mega; // www . j a v a 2 s . c o m public class Callback<T> { private static final org.slf4j.Logger log = org.slf4j.LoggerFactory .getLogger(Callback.class.getSimpleName()); public void onResult(T result) { log.info("onResult(): {}", result); } public void onError(APIError error) { log.error(error.getMessage()); } public void onError(Exception e) { log.error(e.getMessage(), e); } }