DJI Mobile SDK Documentation

      class DJIRCMasterSlaveState

      @interface DJIRCMasterSlaveState : NSObject
      Header:DJIRemoteControllerBaseTypes.h
      Inherits From:NSObject
      SDK Key:DJIRemoteControllerKey.DJIRemoteControllerParamMasterSlaveState
      Description:

      State of the remote controller related to the master and slave mode.

      Class Members:
      property
      property mode
      @property(nonatomic, readonly) DJIRCMode mode
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      The master/slave mode of the remote controller.

      See Also:

      DJIRCMode

      property
      property isConnected
      @property(nonatomic, readonly) BOOL isConnected
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      YES if a slave remote controller joins a master remote controller.

      property
      property masterID
      @property(nonatomic, readonly) NSString *masterID
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      ID of the master remote controller.

      property
      property slaveID
      @property(nonatomic, readonly) NSString *slaveID
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      ID of the slave remote controller.

      property authorizationCode
      @property(nonatomic, readonly) NSString *authorizationCode
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      Authorization code of the master remote controller that is a 6 element string of numbers.

      property hasGimbalControl
      @property(nonatomic, readonly) BOOL hasGimbalControl
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      YES if the remote controller has gimbal control. Call requestGimbalControlWithCompletion to attain the gimbal control.