com.restfb.types
Class Insight
java.lang.Object
com.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.Insight
- All Implemented Interfaces:
- Serializable
public class Insight
- extends NamedFacebookType
Represents the Insight
Graph API type.
- Since:
- 1.6.3
- Author:
- Mark Allen
- See Also:
- Serialized Form
Insight
public Insight()
getPeriod
public String getPeriod()
- Length of the period during which the insights were collected, e.g. 'day',
'week' or 'month'.
- Returns:
- Length of the period during which the insights were collected.
getDescription
public String getDescription()
- The human-readable description of this Insight data.
- Returns:
- The human-readable description of this Insight data.
getValues
public List<JsonObject> getValues()
- Data for this Insight as a list of
JsonObject
because its structure can vary
depending on which type of Insight you're looking at.
- Returns:
- Data for this Insight.
RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.