public interface UserDataResultCallback
Modifier and Type | Method and Description |
---|---|
void |
onFailure(UserDataResultError errorCode)
Called when the user data request fails.
|
void |
onSuccess(UserDataResult userDataResult)
Called when the user data is successfully fetched.
|
void onSuccess(@NonNull UserDataResult userDataResult)
userDataResult
- The user data response.void onFailure(@NonNull UserDataResultError errorCode)
errorCode
- The error code representing the failure reason.