OpenGraphAction.Factory
Kelas ini tidak tersedia lagi di versi SDK terbaru.
Versi yang lebih baru dari kelas ini sudah tersedia. Lihat versi terbaru.

Exposes helpers for creating instances of OpenGraphAction.

Perpanjang:Object
Paket:model
Konstruktor
OpenGraphAction.Factory()
public OpenGraphAction.Factory()
Metode Kelas
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)
ParameterKeterangan
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)
ParameterKeterangan
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