Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

OnSuccessListener

public interface OnSuccessListener

com.google.android.play.core.tasks.OnSuccessListener<TResult>


Listener called when a Task completes successfully.

Summary

Public methods

abstract void onSuccess(TResult result)

Called when the Task completes successfully.

Public methods

onSuccess

void onSuccess (TResult result)

Called when the Task completes successfully.

Parameters
result TResult: the result of the Task