facebook-gamingservices/src/main/java/com/facebook/gamingservices/GameRequestDialog.java [110:212]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public String getRequestId() {
      return requestId;
    }

    /**
     * Returns request recipients.
     *
     * @return request recipients
     */
    public List<String> getRequestRecipients() {
      return to;
    }
  }

  // The actual value of the string is different since that is what the web dialog is actually
  // called on the server.
  private static final String GAME_REQUEST_DIALOG = "apprequests";

  private static final int DEFAULT_REQUEST_CODE =
      CallbackManagerImpl.RequestCodeOffset.GameRequest.toRequestCode();

  /**
   * Indicates whether the game request dialog can be shown.
   *
   * @return true if the dialog can be shown
   */
  public static boolean canShow() {
    return true;
  }

  /**
   * Shows a {@link GameRequestDialog} to send a request, using the passed in activity. No callback
   * will be invoked.
   *
   * @param activity Activity hosting the dialog.
   * @param gameRequestContent Content of the request.
   */
  public static void show(final Activity activity, final GameRequestContent gameRequestContent) {
    new GameRequestDialog(activity).show(gameRequestContent);
  }

  /**
   * Shows a {@link GameRequestDialog} to send a request, using the passed in activity. No callback
   * will be invoked.
   *
   * @param fragment androidx.fragment.app.Fragment hosting the dialog.
   * @param gameRequestContent Content of the request.
   */
  public static void show(final Fragment fragment, final GameRequestContent gameRequestContent) {
    show(new FragmentWrapper(fragment), gameRequestContent);
  }

  /**
   * Shows a {@link GameRequestDialog} to send a request, using the passed in activity. No callback
   * will be invoked.
   *
   * @param fragment android.app.Fragment hosting the dialog.
   * @param gameRequestContent Content of the request.
   */
  public static void show(
      final android.app.Fragment fragment, final GameRequestContent gameRequestContent) {
    show(new FragmentWrapper(fragment), gameRequestContent);
  }

  private static void show(
      final FragmentWrapper fragmentWrapper, final GameRequestContent gameRequestContent) {
    new GameRequestDialog(fragmentWrapper).show(gameRequestContent);
  }

  /**
   * Constructs a new RequestDialog.
   *
   * @param activity Activity hosting the dialog.
   */
  public GameRequestDialog(Activity activity) {
    super(activity, DEFAULT_REQUEST_CODE);
  }

  /**
   * Constructs a new RequestDialog.
   *
   * @param fragment androidx.fragment.app.Fragment hosting the dialog.
   */
  public GameRequestDialog(Fragment fragment) {
    this(new FragmentWrapper(fragment));
  }

  /**
   * Constructs a new RequestDialog.
   *
   * @param fragment android.app.Fragment hosting the dialog.
   */
  public GameRequestDialog(android.app.Fragment fragment) {
    this(new FragmentWrapper(fragment));
  }

  private GameRequestDialog(FragmentWrapper fragmentWrapper) {
    super(fragmentWrapper, DEFAULT_REQUEST_CODE);
  }

  @Override
  protected void registerCallbackImpl(
      final CallbackManagerImpl callbackManager, final FacebookCallback<Result> callback) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



facebook-share/src/main/java/com/facebook/share/widget/GameRequestDialog.java [80:182]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public String getRequestId() {
      return requestId;
    }

    /**
     * Returns request recipients.
     *
     * @return request recipients
     */
    public List<String> getRequestRecipients() {
      return to;
    }
  }

  // The actual value of the string is different since that is what the web dialog is actually
  // called on the server.
  private static final String GAME_REQUEST_DIALOG = "apprequests";

  private static final int DEFAULT_REQUEST_CODE =
      CallbackManagerImpl.RequestCodeOffset.GameRequest.toRequestCode();

  /**
   * Indicates whether the game request dialog can be shown.
   *
   * @return true if the dialog can be shown
   */
  public static boolean canShow() {
    return true;
  }

  /**
   * Shows a {@link GameRequestDialog} to send a request, using the passed in activity. No callback
   * will be invoked.
   *
   * @param activity Activity hosting the dialog.
   * @param gameRequestContent Content of the request.
   */
  public static void show(final Activity activity, final GameRequestContent gameRequestContent) {
    new GameRequestDialog(activity).show(gameRequestContent);
  }

  /**
   * Shows a {@link GameRequestDialog} to send a request, using the passed in activity. No callback
   * will be invoked.
   *
   * @param fragment androidx.fragment.app.Fragment hosting the dialog.
   * @param gameRequestContent Content of the request.
   */
  public static void show(final Fragment fragment, final GameRequestContent gameRequestContent) {
    show(new FragmentWrapper(fragment), gameRequestContent);
  }

  /**
   * Shows a {@link GameRequestDialog} to send a request, using the passed in activity. No callback
   * will be invoked.
   *
   * @param fragment android.app.Fragment hosting the dialog.
   * @param gameRequestContent Content of the request.
   */
  public static void show(
      final android.app.Fragment fragment, final GameRequestContent gameRequestContent) {
    show(new FragmentWrapper(fragment), gameRequestContent);
  }

  private static void show(
      final FragmentWrapper fragmentWrapper, final GameRequestContent gameRequestContent) {
    new GameRequestDialog(fragmentWrapper).show(gameRequestContent);
  }

  /**
   * Constructs a new RequestDialog.
   *
   * @param activity Activity hosting the dialog.
   */
  public GameRequestDialog(Activity activity) {
    super(activity, DEFAULT_REQUEST_CODE);
  }

  /**
   * Constructs a new RequestDialog.
   *
   * @param fragment androidx.fragment.app.Fragment hosting the dialog.
   */
  public GameRequestDialog(Fragment fragment) {
    this(new FragmentWrapper(fragment));
  }

  /**
   * Constructs a new RequestDialog.
   *
   * @param fragment android.app.Fragment hosting the dialog.
   */
  public GameRequestDialog(android.app.Fragment fragment) {
    this(new FragmentWrapper(fragment));
  }

  private GameRequestDialog(FragmentWrapper fragmentWrapper) {
    super(fragmentWrapper, DEFAULT_REQUEST_CODE);
  }

  @Override
  protected void registerCallbackImpl(
      final CallbackManagerImpl callbackManager, final FacebookCallback<Result> callback) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



