AppInviteDialog
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

A dialog for inviting users.

확장:FacebookDialogBase
패키지:widget
생성자
AppInviteDialog(Activity)

Constructs a new AppInviteDialog.

public AppInviteDialog(Activity activity)
매개변수설명
activityActivity to use to share the provided content.
AppInviteDialog(Fragment)

Constructs a new AppInviteDialog.

public AppInviteDialog(Fragment fragment)
매개변수설명
fragmentFragment to use to share the provided content.
클래스 메서드
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)
매개변수설명
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)
매개변수설명
fragmentFragment to use to share the provided content
appInviteContentContent of the app invite to send