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