public static final class OpenGraphAction.Factory extends Object
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static OpenGraphAction |
createForPost()
Deprecated.
|
static <T extends OpenGraphAction> |
createForPost(Class<T> graphObjectClass,
String type)
Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.
|
static OpenGraphAction |
createForPost(String type)
Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.
|
@Deprecated public static OpenGraphAction createForPost()
public static OpenGraphAction createForPost(String type)
type
- the Open Graph action type for the action, or null if it will be specified laterpublic static <T extends OpenGraphAction> T createForPost(Class<T> graphObjectClass, String type)
type
- the Open Graph action type for the action, or null if it will be specified latergraphObjectClass
- the OpenGraphAction-derived type to returnCopyright © 2014. All rights reserved.