OpenGraphAction.Factory
Diese Klasse ist in der neuesten Version des SDKs nicht mehr verfügbar.
Es ist eine neuere Version dieser Klasse verfügbar. Sieh sie dir an mit der aktuellsten Version.

Exposes helpers for creating instances of OpenGraphAction.

Erweiterungen:Object
Package:model
Konstruktoren
OpenGraphAction.Factory()
public OpenGraphAction.Factory()
Klassenmethoden
createForPost()

Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.

public static OpenGraphAction createForPost()
Returns
An OpenGraphAction
createForPost(String)

Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.

public static OpenGraphAction createForPost(String type)
ParameterBeschreibung
typeThe Open Graph action type for the action, or null if it will be specified later
Returns
An OpenGraphAction
createForPost(Class, String)

Creates an OpenGraphAction suitable for posting via, e.g., a native Share dialog.

public static OpenGraphAction createForPost(Class graphObjectClass, String type)
ParameterBeschreibung
graphObjectClassThe OpenGraphAction-derived type to return
typeThe Open Graph action type for the action, or null if it will be specified later
Returns
An OpenGraphAction