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