Exposes helpers for creating instances of OpenGraphAction.
Extends: | Object |
Package: | 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)
Parameter | Description |
---|---|
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)
Parameter | Description |
---|---|
graphObjectClass | The OpenGraphAction-derived type to return |
type | The Open Graph action type for the action, or null if it will be specified later |