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()
createForPost(String)
Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.
public static OpenGraphAction createForPost(String type)
參數 | 說明 |
---|---|
type | The Open Graph action type for the action, or null if it will be specified later |
createForPost(Class, String)
Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.
public static OpenGraphAction createForPost(Class graphObjectClass, String type)
參數 | 說明 |
---|---|
graphObjectClass | The OpenGraphAction-derived type to return |
type | The Open Graph action type for the action, or null if it will be specified later |