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:

      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:

      -

      DJIRemoteControllerParamRightHorizontalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      rightStick

      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:

      DJIRCGimbalMapping

      setCustomGimbalMapping:withCompletion

      getCustomGimbalMappingWithCompletion

      DJIRemoteControllerParamMasters

      Access:

      Get, Set

      Type:

      NSArray

      API:

      getMastersWithCompletion

      DJIRemoteControllerParamDisplayName

      Access:

      Push

      Type:

      NSString

      API:

      -

      DJIRemoteControllerParamGohomeButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      goHomeButton

      DJIRemoteControllerParamShutterButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      shutterButton

      DJIRemoteControllerParamGimbalMappingStyle

      Access:

      Get, Set

      Type:

      DJIRCGimbalMappingStyle

      API:

      DJIRCGimbalMappingStyle

      setGimbalMappingStyle:withCompletion

      getGimbalMappingStyleWithCompletion

      DJIRemoteControllerParamRequestGimbalControl

      Access:

      Action

      Type:

      DJIRCRequestGimbalControlResult

      API:

      requestLegacyGimbalControlWithCompletion

      DJIRCRequestGimbalControlResult

      DJIRemoteControllerParamLeftHorizontalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      leftStick

      DJIRemoteControllerParamChargeRemaining

      Access:

      Push

      Type:

      DJIRCChargeRemaining

      API:

      remoteController:didUpdateChargeRemaining

      DJIRCChargeRemaining

      DJIRemoteControllerParamLeftWheelValue

      Access:

      Push

      Type:

      NSInteger

      API:

      leftWheel

      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

      DJIRemoteControllerParamConnectToMasterWithCredentials

      Access:

      Action

      Type:

      NSArray<DJIRCCredentials> (credentials: DJIRCCredentials)

      API:

      connectToMasterWithCredentials:withCompletion

      DJIRemoteControllerComponent

      Access:

      -

      Type:

      -

      API:

      DJIMobileRemoteController

      DJIRemoteControllerParamRecodeButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      recordButton

      DJIRemoteControllerParamMasterSearchingState

      Access:

      Get

      Type:

      Boolean

      API:

      getMasterSearchingStateWithCompletion

      DJIRemoteControllerParamAircraftMappingStyle

      Access:

      Get, Set

      Type:

      DJIRCAircraftMappingStyle

      API:

      DJIRCAircraftMappingStyle

      setAircraftMappingStyle:withCompletion

      getAircraftMappingStyleWithCompletion

      DJIRemoteControllerParamMasterAuthorizationCode

      Access:

      Get, Set

      Type:

      NSString

      API:

      setMasterAuthorizationCode:withCompletion

      DJIRemoteControllerParamRightWheelValue

      Access:

      Push

      Type:

      NSInteger

      API:

      rightWheel

      DJIRemoteControllerParamStartMasterSearching

      Access:

      Action

      Type:

      NSArray<DJIRCInformation>

      API:

      startMasterSearchingWithUpdateBlock:withCompletion

      DJIRemoteControllerParamSlaveList

      Access:

      Get

      Type:

      NSArray<DJIRCInformation>

      API:

      getSlaveListWithCompletion

      DJIRemoteControllerParamFocusControllerIsWorking

      Access:

      Push

      Type:

      Boolean

      API:

      isWorking

      DJIRemoteControllerParamRightWheelButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      rightWheel

      DJIRemoteControllerParamStartPairing

      Access:

      Action

      Type:

      API:

      startPairingWithCompletion

      DJIRemoteControllerParamName

      Access:

      Get, Set

      Type:

      NSString

      API:

      setName:withCompletion

      getNameWithCompletion

      DJIRemoteControllerParamRightVerticalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      rightStick

      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

      DJIRemoteControllerParamFocusControllerDirection

      Access:

      Set, Push

      Type:

      DJIRCFocusControllerDirection

      API:

      direction

      DJIRCFocusControllerDirection

      DJIRemoteControllerParamMasterSlaveConnectionState

      Access:

      Get

      Type:

      Boolean

      API:

      getMasterSlaveConnectionStateWithCompletion

      DJIRemoteControllerParamStopMasterSearching

      Access:

      Action

      Type:

      API:

      stopMasterSearchingWithCompletion