DJI Mobile SDK Documentation

      class Information

      @EXClassNullAway
      class Information
      Package:dji.common.remotecontroller
      SDK Key:RemoteControllerKey.AVAILABLE_MASTERS, RemoteControllerKey.SLAVE_LIST
      Description:

      This class contains the information for a remote controller.

      Class Members:
      Identifier
      method
      method getId
      int getId()
      Package:dji.common.remotecontroller
      Description:

      Remote Controller's unique identifier.

      Return:
      intAn int value.
      Name
      method
      method getName
      String getName()
      Package:dji.common.remotecontroller
      Description:

      Remote Controller's name.

      Return:
      StringAn instance of String.
      Password
      method
      method getPassword
      String getPassword()
      Package:dji.common.remotecontroller
      Description:

      Remote Controller's password.

      Return:
      StringAn instance of String.
      Signal Quality
      method
      method getSignalQuality
      short getSignalQuality()
      Package:dji.common.remotecontroller
      Description:

      Signal quality of a connected master or slave Remote Controller in percent [0, 100].

      Return:
      shortA short value.
      Gimbal Control
      method
      method hasGimbalControlPermission
      boolean hasGimbalControlPermission()
      Package:dji.common.remotecontroller
      Description:

      true if the slave remote controller can control the aircraft's gimbal. Always true for a master remote controller.

      Return:
      booleanA boolean value to check if the slave remote controller can control the aircraft's gimbal.
      interface ControlRequestCallback
      interface ControlRequestCallback
      Package:dji.common.remotecontroller
      Description:

      The callback will handle the gimbal control request.

      Interface Methods:

      Callback Method

      State
      method
      method onReceive
      void onReceive(@NonNull Information information)
      Package:dji.common.remotecontroller
      Description:

      Callback function that gets called when a slave Remote Controller makes a request to a master Remote Controller to control the gimbal using the method requestGimbalControlRightWithCallbackBlock.

      Input Parameters:
      @NonNull Information informationInformation of the slave making the request to the master Remote Controller.