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