Request.GraphUserCallback
最新版本的 SDK 已不再提供此課程。
有此級別的更新版本。前往查看 最新版本。

Specifies the interface that consumers of Request.executeMeRequestAsync(Session, com.facebook.Request.GraphUserCallback) can use to be notified when the request completes, either successfully or with an error.

套件:facebook
執行個體方法
onCompleted(GraphUser, Response)

The method that will be called when the request completes.

public void onCompleted(GraphUser user, Response response)
參數說明
userThe GraphObject representing the returned user, or null
responseThe Response of this request, which may include error information if the request was unsuccessful