Back to project page sami-android-demo.
The source code is released under:
Apache License
If you think the Android project sami-android-demo 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 io.samsungsami.android; // w w w . j a va 2 s. c o m public interface SamiClient { /** * Called when a successful login is done, the login window is dismissed and the auth token has been obtained. */ void onLoginCompleted(String accessToken); /** * Called when the login window is dismissed by cancel button, touching outside, back or any other reason. */ void onLoginCanceled(); /** * Called when the API Call hits a 401 unauthorized response header */ void onInvalidCredentials(); }