-
public final class OpenGraphJSONUtilitycom.facebook.share.internal is solely for the use of other packages within the Facebook SDK for Android. Use of any of the classes in this package is unsupported, and they may be modified or removed without warning at any time.
Utility methods for JSON representation of Open Graph models.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceOpenGraphJSONUtility.PhotoJSONProcessor
-
Method Summary
Modifier and Type Method Description static JSONObjecttoJSONObject(ShareOpenGraphAction action, OpenGraphJSONUtility.PhotoJSONProcessor photoJSONProcessor)Converts an action to a JSONObject. static ObjecttoJSONValue(@Nullable() Object object, OpenGraphJSONUtility.PhotoJSONProcessor photoJSONProcessor)-
-
Method Detail
-
toJSONObject
static JSONObject toJSONObject(ShareOpenGraphAction action, OpenGraphJSONUtility.PhotoJSONProcessor photoJSONProcessor)
Converts an action to a JSONObject.
NOTE: All images are removed from the JSON representation and must be added to the builderseparately.
- Parameters:
action- com.facebook.share.model.ShareOpenGraphAction to be converted.
-
toJSONValue
static Object toJSONValue(@Nullable() Object object, OpenGraphJSONUtility.PhotoJSONProcessor photoJSONProcessor)
-
-
-
-