AppInviteDialog
Versi yang lebih baru dari kelas ini sudah tersedia. Lihat versi terbaru.

A dialog for inviting users.

Perpanjang:FacebookDialogBase
Paket:widget
Konstruktor
AppInviteDialog(Activity)

Constructs a new AppInviteDialog.

public AppInviteDialog(Activity activity)
ParameterKeterangan
activityActivity to use to share the provided content.
AppInviteDialog(Fragment)

Constructs a new AppInviteDialog.

public AppInviteDialog(Fragment fragment)
ParameterKeterangan
fragmentAndroid.support.v4.app.Fragment to use to share the provided content.
AppInviteDialog(Fragment)

Constructs a new AppInviteDialog.

public AppInviteDialog(Fragment fragment)
ParameterKeterangan
fragmentAndroid.app.Fragment to use to share the provided content.
Metode Kelas
canShow()

Indicates whether the app invite dialog can be shown.

public static boolean canShow()
Returns
True if the dialog can be shown
show(Activity, AppInviteContent)

Helper to show the provided AppInviteContent using the provided Activity. No callback will be invoked.

public static void show(Activity activity, AppInviteContent appInviteContent)
ParameterKeterangan
activityActivity to use to share the provided content
appInviteContentContent of the app invite to send
show(Fragment, AppInviteContent)

Helper to show the provided AppInviteContent using the provided Fragment. No callback will be invoked.

public static void show(Fragment fragment, AppInviteContent appInviteContent)
ParameterKeterangan
fragmentAndroid.support.v4.app.Fragment to use to share the provided content
appInviteContentContent of the app invite to send
show(Fragment, AppInviteContent)

Helper to show the provided AppInviteContent using the provided Fragment. No callback will be invoked.

public static void show(Fragment fragment, AppInviteContent appInviteContent)
ParameterKeterangan
fragmentAndroid.app.Fragment to use to share the provided content
appInviteContentContent of the app invite to send