@NonNull
  private Message createResultMessage(int result) {
    final Message msg = Message.obtain();
    msg.what = GooglePlayMessageHandler.MSG_RESULT;
    msg.arg1 = result;

    Bundle b = new Bundle();
    b.putString(REQUEST_PARAM_TAG, tag);
    msg.setData(b);
    return msg;
  }
Wraps the GooglePlay messenger in a JobCallback-compatible interface.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/GooglePlayMessengerCallback.java