OpenGraphAction.Factory
Esta clase no está disponible en la última versión del SDK.
Existe una versión más reciente de esta clase. Consulta la última versión.

Exposes helpers for creating instances of OpenGraphAction.

Hereda de:Object
Paquete:model
Constructores
OpenGraphAction.Factory()
public OpenGraphAction.Factory()
Métodos de clase
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)
ParámetroDescripción
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)
ParámetroDescripción
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