Exposes helpers for creating instances of OpenGraphAction.
Mở rộng: | Object |
Gói: | 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)
Thông số | Mô tả |
---|---|
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)
Thông số | Mô tả |
---|---|
graphObjectClass | The OpenGraphAction-derived type to return |
type | The Open Graph action type for the action, or null if it will be specified later |