FileDocCategorySizeDatePackage
IFacebookMethod.javaAPI DocGoogle Facebook API v1.53414Sun Nov 11 14:24:36 GMT 2007com.facebook.api

IFacebookMethod

public interface IFacebookMethod
Interface for specifying a Facebook API method.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringmethodName()
The name of the method, e.g. "facebook.friends.get"

return
the method name
see
Developers Wiki: Facebook API Reference

public intnumParams()
Number of method-specific parameters (i.e. excluding universally required parameters such as api_key and sig)

return
the number of parameters expected

public intnumTotalParams()

return
the total number of parameters this method accepts, including required parameters

public booleanrequiresSession()

return
whether the method requires an active session to be established

public booleantakesFile()

return
whether the method expects a file to be posted