Facebook.ServiceListener
คลาสนี้ไม่มีให้ใช้งานใน SDK เวอร์ชั่นล่าสุดอีกต่อไป
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

Callback interface for service requests.

THIS CLASS SHOULD BE CONSIDERED DEPRECATED.

All public members of this class are intentionally deprecated. New code should instead use Session to manage session state.

Adding @Deprecated to this class causes warnings in other deprecated classes that reference this one. That is the only reason this entire class is not deprecated.

แพ็คเกจ:android
วิธีการแบบอินสแตนซ์
onComplete(Bundle)

Called when a service request completes.

public void onComplete(Bundle values)
พารามิเตอร์คำอธิบาย
valuesKey-value string pairs extracted from the response.
onFacebookError(FacebookError)

Called when a Facebook server responds to the request with an error.

public void onFacebookError(FacebookError e)
พารามิเตอร์คำอธิบาย
e
onError(Error)

Called when a Facebook Service responds to the request with an error.

public void onError(Error e)
พารามิเตอร์คำอธิบาย
e