@Deprecated public interface FetchUserDataCallback extends com.snapchat.kit.sdk.login.networking.SnapLoginClientCallback<UserDataResponse>
Modifier and Type | Method and Description |
---|---|
void |
onFailure(boolean isNetworkError,
int statusCode)
Deprecated.
Callback for when user data request ended in failure.
|
void |
onSuccess(UserDataResponse userDataResponse)
Deprecated.
Callback when user data is successfully fetched.
|
void onSuccess(@Nullable UserDataResponse userDataResponse)
onSuccess
in interface com.snapchat.kit.sdk.login.networking.SnapLoginClientCallback<UserDataResponse>
userDataResponse
- The user data response.void onFailure(boolean isNetworkError, int statusCode)
onFailure
in interface com.snapchat.kit.sdk.login.networking.SnapLoginClientCallback<UserDataResponse>
isNetworkError
- Set if requested failed due to a network error.statusCode
- The status code of the response.