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

Provides functionality to send requests in games. see https://developers.facebook.com/docs/games/requests

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

Constructs a new RequestDialog.

public GameRequestDialog(Activity activity)
매개변수설명
activityActivity hosting the dialog.
GameRequestDialog(Fragment)

Constructs a new RequestDialog.

public GameRequestDialog(Fragment fragment)
매개변수설명
fragmentFragment hosting the dialog.
클래스 메서드
canShow()

Indicates whether the game request dialog can be shown.

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

Shows a GameRequestDialog to send a request, using the passed in activity. No callback will be invoked.

public static void show(Activity activity, GameRequestContent gameRequestContent)
매개변수설명
activityActivity hosting the dialog.
gameRequestContentContent of the request.
show(Fragment, GameRequestContent)

Shows a GameRequestDialog to send a request, using the passed in activity. No callback will be invoked.

public static void show(Fragment fragment, GameRequestContent gameRequestContent)
매개변수설명
fragmentFragment hosting the dialog.
gameRequestContentContent of the request.