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 |