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 |