OpenGraphAction.Factory
В последней версии SDK этот класс не доступен.
Доступна более новая версия данного класса. Посетите текущую версию.

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()
Returns
An OpenGraphAction
createForPost(String)

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

public static OpenGraphAction createForPost(String type)
ПараметрОписание
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)
ПараметрОписание
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