DJI Mobile SDK Documentation

      class ResponseForGimbalControl

      @EXClassNullAway
      class ResponseForGimbalControl
      Package:dji.common.remotecontroller
      SDK Key:RemoteControllerKey.RESPONSE_TO_REQUEST_FOR_GIMBAL_CONTROL
      Description:

      Data object that master Remote Controller to respond to the slave Remote Controller's request.

      Class Members:
      method ResponseForGimbalControl
      ResponseForGimbalControl(int requesterId, boolean isAgree)
      Package:dji.common.remotecontroller
      Description:

      Constructor of the class.

      Input Parameters:
      int requesterIdSlave Remote Controller's identifier.
      boolean isAgree<code>true</code> if the master Remote Controller agrees to give the slave Remote Controller the right to control the gimbal.
      method getRequesterId
      int getRequesterId()
      Package:dji.common.remotecontroller
      Description:

      Get the slave Remote Controller's identifier.

      Return:
      intThe int value of the slave Remote Controller ID.
      method
      method isAgree
      boolean isAgree()
      Package:dji.common.remotecontroller
      Description:

      true if the master Remote Controller agrees to give the slave Remote Controller the right to control the gimbal.

      Return:
      booleanAgree or disagree to control the gimbal.