Response

public class Response<T extends Result>


Represents the successful result of invoking an API method in Google Play services using a subclass of GoogleApi. Wraps a instance of a Result.

Parameters
<T extends Result>

the subclass of Result being wrapped,

Summary

Protected fields

T

Public constructors

Protected constructors

Response(@NonNull T result)

Public methods

void
setResult(@NonNull T result)

Protected methods

@NonNull T

Protected fields

result

protected T result

Public constructors

Response

public Response()

Protected constructors

Response

protected Response(@NonNull T result)

Public methods

setResult

public void setResult(@NonNull T result)

Protected methods

getResult

protected @NonNullgetResult()