OpenGraphAction.Factory
Esta classe não está mais disponível na versão mais recente do SDK.
Há uma versão mais recente desta classe disponível. Confira. a versão mais recente.

Exposes helpers for creating instances of OpenGraphAction.

Estende:Object
Pacote:model
Construtores
OpenGraphAction.Factory()
public OpenGraphAction.Factory()
Métodos de classe
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âmetroDescrição
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âmetroDescrição
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