DJI Mobile SDK Documentation

      class DJIRemoteControllerKey

      @interface DJIRemoteControllerKey : DJIKey
      Header:DJIRemoteControllerKey.h
      Inherits From:DJIKey
      Description:

      DJIRemoteControllerKey provides dedicated access to remote controller attributes.

      Class Keys:

      DJIRemoteControllerParamRTKChannelEnabled

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamRespondToRequestForGimbalControl

      Access:

      Action

      Type:

      NSArray (agree: BOOL, requesterId: NSUInteger)

      API:

      respondToRequestForGimbalControl:fromSlaveRC

      DJIRemoteControllerParamGPSData

      Access:

      Push

      Type:

      DJIRCGPSData

      API:

      remoteController:didUpdateGPSData

      DJIRCGPSData

      DJIRemoteControllerParamCustomButton2Down

      Access:

      Push

      Type:

      Boolean

      API:

      c2Button

      DJIRemoteControllerParamControllingGimbalIndex

      Access:

      Push

      Type:

      NSUInteger

      API:

      -

      DJIRemoteControllerParamChannelsCalibrate

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamRightHorizontalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      rightStick

      DJIRemoteControllerParamRightWheelButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      rightWheel

      DJIRemoteControllerParamC1ButtonBindingEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setC1ButtonBindingEnabled:withCompletion

      getC1ButtonBindingEnabledWithCompletion

      DJIRemoteControllerParamFocusControllerControlType

      Access:

      Set, Push

      Type:

      DJIRCFocusControllerControlType

      API:

      controlType

      DJIRCFocusControllerControlType

      DJIRemoteControllerParamPairingState

      Access:

      Get

      Type:

      DJIRCPairingState

      API:

      getPairingStateWithCompletion

      DJIRCPairingState

      DJIRemoteControllerParamCustomButtonTags

      Access:

      Get, Set

      Type:

      DJIRCCustomButtonTags

      API:

      setCustomButtonTags:withCompletion

      getCustomButtonTagsWithCompletion

      DJIRCCustomButtonTags

      DJIRemoteControllerParamConnectedMasterCredentials

      Access:

      Get

      Type:

      DJIRCCredentials

      API:

      getConnectedMasterCredentials

      DJIRCCredentials

      DJIRemoteControllerParamMasterSlaveState

      Access:

      Set, Push

      Type:

      DJIRCMasterSlaveState

      API:

      remoteController:didUpdateMasterSlaveState

      DJIRCMasterSlaveState

      DJIRemoteControllerParamCustomButton1Down

      Access:

      Push

      Type:

      Boolean

      API:

      c1Button

      DJIRemoteControllerParamGimbalControlSpeedCoefficient

      Access:

      Get, Set

      Type:

      DJIRCGimbalControlSpeedCoefficient

      API:

      setGimbalControlSpeedCoefficient:withCompletion

      getGimbalControlSpeedCoefficientWithCompletion

      DJIRCGimbalControlSpeedCoefficient

      DJIRemoteControllerParamTransformationSwitchState

      Access:

      Push

      Type:

      DJIRCTransformationSwitchState

      API:

      transformationSwitch

      DJIRCTransformationSwitchState

      DJIRemoteControllerParamCustomAircraftMapping

      Access:

      Get, Set

      Type:

      DJIRCAircraftMapping

      API:

      setCustomAircraftMapping:withCompletion

      getCustomAircraftMappingWithCompletion

      DJIRCAircraftMapping

      DJIRemoteControllerParamRequestLegacyGimbalControl

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamCustomGimbalMapping

      Access:

      Get, Set

      Type:

      DJIRCGimbalMapping

      API:

      setCustomGimbalMapping:withCompletion

      getCustomGimbalMappingWithCompletion

      DJIRCGimbalMapping

      DJIRemoteControllerParamRightDialsValue

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamMasters

      Access:

      Get, Set

      Type:

      NSArray

      API:

      getMastersWithCompletion

      DJIRemoteControllerParamDisplayName

      Access:

      Push

      Type:

      NSString

      API:

      -

      DJIRemoteControllerParamGohomeButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      goHomeButton

      DJIRemoteControllerParamStopMultiDevicePairing

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamShutterButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      shutterButton

      DJIRemoteControllerParamGimbalMappingStyle

      Access:

      Get, Set

      Type:

      DJIRCGimbalMappingStyle

      API:

      setGimbalMappingStyle:withCompletion

      getGimbalMappingStyleWithCompletion

      DJIRCGimbalMappingStyle

      DJIRemoteControllerParamRequestGimbalControl

      Access:

      Action

      Type:

      DJIRCRequestGimbalControlResult

      API:

      requestLegacyGimbalControlWithCompletion

      DJIRCRequestGimbalControlResult

      DJIRemoteControllerParamLeftHorizontalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      leftStick

      DJIRemoteControllerParamIsMultiDevicePairingSupported

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamChargeRemaining

      Access:

      Push

      Type:

      DJIRCChargeRemaining

      API:

      remoteController:didUpdateChargeRemaining

      DJIRCChargeRemaining

      DJIRemoteControllerParamRightVerticalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      rightStick

      DJIRemoteControllerParamPassword

      Access:

      Get, Set

      Type:

      NSString

      API:

      setPassword:withCompletion

      getPasswordWithCompletion

      DJIRemoteControllerParamConnectToMasterWithIDAndAuthorizationCode

      Access:

      Action

      Type:

      NSArray (id: NSString, authorizationCode: NSString)

      API:

      connectToMasterWithID:authorizationCode:withCompletion

      DJIRemoteControllerParamStopPairing

      Access:

      Action

      Type:

      API:

      stopPairingWithCompletion

      DJIRemoteControllerParamLeftVerticalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      leftStick

      DJIRemoteControllerParamPlaybackButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      playbackButton

      DJIRemoteControllerParamChargeMobileMode

      Access:

      Get, Set

      Type:

      DJIRCChargeMobileMode

      API:

      getChargeMobileModeWithCompletion

      DJIRCChargeMobileMode

      DJIRemoteControllerParamStartMultiDevicePairing

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamConnectToMasterWithCredentials

      Access:

      Action

      Type:

      NSArray<DJIRCCredentials> (credentials: DJIRCCredentials)

      API:

      connectToMasterWithCredentials:withCompletion

      DJIRemoteControllerComponent

      Access:

      -

      Type:

      -

      API:

      DJIMobileRemoteController

      DJIRemoteControllerParamLeftWheelValue

      Access:

      Push

      Type:

      NSInteger

      API:

      leftWheel

      DJIRemoteControllerParamRecodeButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      recordButton

      DJIRemoteControllerParamMasterSearchingState

      Access:

      Get

      Type:

      Boolean

      API:

      getMasterSearchingStateWithCompletion

      DJIRemoteControllerParamAircraftMappingStyle

      Access:

      Get, Set

      Type:

      DJIRCAircraftMappingStyle

      API:

      setAircraftMappingStyle:withCompletion

      getAircraftMappingStyleWithCompletion

      DJIRCAircraftMappingStyle

      DJIRemoteControllerParamStopMasterSearching

      Access:

      Action

      Type:

      API:

      stopMasterSearchingWithCompletion

      DJIRemoteControllerParamIsNewMasterSlaveModeSupported

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIRemoteControllerParamRightWheelValue

      Access:

      Push

      Type:

      NSInteger

      API:

      rightWheel

      DJIRemoteControllerParamStartMasterSearching

      Access:

      Action

      Type:

      NSArray<DJIRCInformation>

      API:

      startMasterSearchingWithUpdateBlock:withCompletion

      DJIRemoteControllerParamName

      Access:

      Get, Set

      Type:

      NSString

      API:

      setName:withCompletion

      getNameWithCompletion

      DJIRemoteControllerParamSlaveList

      Access:

      Get

      Type:

      NSArray<DJIRCInformation>

      API:

      getSlaveListWithCompletion

      DJIRemoteControllerParamFocusControllerIsWorking

      Access:

      Push

      Type:

      Boolean

      API:

      isWorking

      DJIRemoteControllerParamFocusControllerDirection

      Access:

      Set, Push

      Type:

      DJIRCFocusControllerDirection

      API:

      direction

      DJIRCFocusControllerDirection

      DJIRemoteControllerParamStartPairing

      Access:

      Action

      Type:

      API:

      startPairingWithCompletion

      DJIRemoteControllerParamMultiDevicePairingState

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamLeftDialsValue

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamIsFocusControllerSupported

      Access:

      Push

      Type:

      Boolean

      API:

      isFocusControllerSupported

      DJIRemoteControllerParamIsMasterSlaveModeSupported

      Access:

      Push

      Type:

      Boolean

      API:

      isMasterSlaveModeSupported

      DJIRemoteControllerParamMode

      Access:

      Push, Set, Get

      Type:

      DJIRCMode

      API:

      setMode:withCompletion

      getModeWithCompletion

      DJIRCMode

      DJIRemoteControllerParamLeftWheelGimbalControlAxis

      Access:

      Get, Set

      Type:

      DJIRCGimbalAxis

      API:

      setLeftWheelGimbalControlAxis:withCompletion

      getLeftWheelGimbalControlAxisWithCompletion

      DJIRCGimbalAxis

      DJIRemoteControllerParamRCHardwareFlightModeSwitchState

      Access:

      Push

      Type:

      DJIRCFlightModeSwitch

      API:

      flightModeSwitch

      DJIRCFlightModeSwitch

      DJIRemoteControllerParamMasterSlaveConnectionState

      Access:

      Get

      Type:

      Boolean

      API:

      getMasterSlaveConnectionStateWithCompletion

      DJIRemoteControllerParamMasterAuthorizationCode

      Access:

      Get, Set

      Type:

      NSString

      API:

      setMasterAuthorizationCode:withCompletion