OpenGraphAction.Factory
最新版的 SDK 已不支持此类。
这个类有新版本。查看 最新版本。

Exposes helpers for creating instances of OpenGraphAction.

扩展:Object
应用安装包:model
构造函数
OpenGraphAction.Factory()
public OpenGraphAction.Factory()
类方法
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)
参数描述
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)
参数描述
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