OpenGraphAction.Factory
Cette classe n’est plus disponible dans la version la plus récente du SDK.
Une version plus récente de cette classe est disponible. Rendez-vous sur la dernière version.

Exposes helpers for creating instances of OpenGraphAction.

Prolonge :Object
Package :model
Constructeurs
OpenGraphAction.Factory()
public OpenGraphAction.Factory()
Méthodes Class
createForPost()

Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.

public static OpenGraphAction createForPost()
Returns
An OpenGraphAction
createForPost(String)

Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.

public static OpenGraphAction createForPost(String type)
ParamètreDescription
typeThe Open Graph action type for the action, or null if it will be specified later
Returns
An OpenGraphAction
createForPost(Class, String)

Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.

public static OpenGraphAction createForPost(Class graphObjectClass, String type)
ParamètreDescription
graphObjectClassThe OpenGraphAction-derived type to return
typeThe Open Graph action type for the action, or null if it will be specified later
Returns
An OpenGraphAction