GameRequestDialog
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

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

Mở rộng:FacebookDialogBase
Gói:widget
Xây dựng
GameRequestDialog(Activity)

Constructs a new RequestDialog.

public GameRequestDialog(Activity activity)
Thông sốMô tả
activityActivity hosting the dialog.
GameRequestDialog(Fragment)

Constructs a new RequestDialog.

public GameRequestDialog(Fragment fragment)
Thông sốMô tả
fragmentAndroid.support.v4.app.Fragment hosting the dialog.
GameRequestDialog(Fragment)

Constructs a new RequestDialog.

public GameRequestDialog(Fragment fragment)
Thông sốMô tả
fragmentAndroid.app.Fragment hosting the dialog.
Phương thức nhóm
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)
Thông sốMô tả
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)
Thông sốMô tả
fragmentAndroid.support.v4.app.Fragment 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)
Thông sốMô tả
fragmentAndroid.app.Fragment hosting the dialog.
gameRequestContentContent of the request.