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

      DJIRemoteControllerParamSecondaryVideoOSDEnabled

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamGPSData

      Access:

      Push

      Type:

      DJIRCGPSData

      API:

      remoteController:didUpdateGPSData

      DJIRCGPSData

      DJIRemoteControllerParamCustomButton2Down

      Access:

      Push

      Type:

      Boolean

      API:

      c2Button

      DJIRemoteControllerParamIsSecondaryVideoOutputSupported

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamChannelsCalibrate

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamRightHorizontalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      rightStick

      DJIRemoteControllerParamRightWheelButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      rightWheel

      DJIRemoteControllerParamMultiDevicePairingState

      Access:

      -

      Type:

      -

      API:

      -

      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

      DJIRemoteControllerParamSecondaryVideoOSDUnit

      Access:

      -

      Type:

      -

      API:

      -

      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

      DJIRemoteControllerParamLeftWheelValue

      Access:

      Push

      Type:

      NSInteger

      API:

      leftWheel

      DJIRemoteControllerParamCustomGimbalMapping

      Access:

      Get, Set

      Type:

      DJIRCGimbalMapping

      API:

      DJIRCGimbalMapping

      setCustomGimbalMapping:withCompletion

      getCustomGimbalMappingWithCompletion

      DJIRemoteControllerParamIsFocusControllerSupported

      Access:

      Push

      Type:

      Boolean

      API:

      isFocusControllerSupported

      DJIRemoteControllerParamMasters

      Access:

      Get, Set

      Type:

      NSArray

      API:

      getMastersWithCompletion

      DJIRemoteControllerParamSecondaryVideoDisplayMode

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamDisplayName

      Access:

      Push

      Type:

      NSString

      API:

      -

      DJIRemoteControllerParamSecondaryVideoPIPPosition

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamGohomeButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      goHomeButton

      DJIRemoteControllerParamStopMultiDevicePairing

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamShutterButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      shutterButton

      DJIRemoteControllerParamSecondaryVideoOSDTopMargin

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamGimbalMappingStyle

      Access:

      Get, Set

      Type:

      DJIRCGimbalMappingStyle

      API:

      DJIRCGimbalMappingStyle

      setGimbalMappingStyle:withCompletion

      getGimbalMappingStyleWithCompletion

      DJIRemoteControllerParamShootPhotoAndRecordButtonBindingEnabled

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamRightWheelValue

      Access:

      Push

      Type:

      NSInteger

      API:

      rightWheel

      DJIRemoteControllerParamSecondaryVideoOutputPort

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamIsChargeRemainingLow

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIRemoteControllerParamRequestGimbalControl

      Access:

      Action

      Type:

      DJIRCRequestGimbalControlResult

      API:

      requestLegacyGimbalControlWithCompletion

      DJIRCRequestGimbalControlResult

      DJIRemoteControllerParamLeftHorizontalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      leftStick

      DJIRemoteControllerParamIsMultiDevicePairingSupported

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamSecondaryVideoOutputFormatForSDI

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamSecondaryVideoOSDBottomMargin

      Access:

      -

      Type:

      -

      API:

      -

      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

      DJIRemoteControllerParamControllingGimbalIndex

      Access:

      Push

      Type:

      NSUInteger

      API:

      -

      DJIRemoteControllerParamLeftVerticalValue

      Access:

      Push

      Type:

      NSInteger

      API:

      leftStick

      DJIRemoteControllerParamPlaybackButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      playbackButton

      DJIRemoteControllerParamBatteryState

      Access:

      Push

      Type:

      DJIRCBatteryState

      API:

      remoteController:didUpdateBatteryState

      DJIRemoteControllerParamRightDialsValue

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamRequestLegacyGimbalControl

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamStartMultiDevicePairing

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamShutterButtonBindingEnabled

      Access:

      -

      Type:

      -

      API:

      -

      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

      DJIRemoteControllerParamSecondaryVideoOutputFormatForHDMI

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamRecodeButtonDown

      Access:

      Push

      Type:

      Boolean

      API:

      recordButton

      DJIRemoteControllerParamLeftDialsValue

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamFocusControllerDirection

      Access:

      Set, Push

      Type:

      DJIRCFocusControllerDirection

      API:

      direction

      DJIRCFocusControllerDirection

      DJIRemoteControllerParamMasterAuthorizationCode

      Access:

      Get, Set

      Type:

      NSString

      API:

      setMasterAuthorizationCode:withCompletion

      DJIRemoteControllerParamIsNewMasterSlaveModeSupported

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIRemoteControllerParamPhotoAndVideoToggleButtonBindingEnabled

      Access:

      -

      Type:

      -

      API:

      -

      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

      DJIRemoteControllerParamAircraftMappingStyle

      Access:

      Get, Set

      Type:

      DJIRCAircraftMappingStyle

      API:

      DJIRCAircraftMappingStyle

      setAircraftMappingStyle:withCompletion

      getAircraftMappingStyleWithCompletion

      DJIRemoteControllerParamStartPairing

      Access:

      Action

      Type:

      API:

      startPairingWithCompletion

      DJIRemoteControllerParamSecondaryVideoOSDRightMargin

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamMasterSearchingState

      Access:

      Get

      Type:

      Boolean

      API:

      getMasterSearchingStateWithCompletion

      DJIRemoteControllerParamSecondaryVideoOutputEnabled

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamIsCalibrationSupported

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamSecondaryVideoOSDLeftMargin

      Access:

      -

      Type:

      -

      API:

      -

      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

      DJIRemoteControllerParamLiveViewSimultaneousOutputEnabled

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamRCHardwareFlightModeSwitchState

      Access:

      Push

      Type:

      DJIRCFlightModeSwitch

      API:

      flightModeSwitch

      DJIRCFlightModeSwitch

      DJIRemoteControllerParamRecordButtonBindingEnabled

      Access:

      -

      Type:

      -

      API:

      -

      DJIRemoteControllerParamMasterSlaveConnectionState

      Access:

      Get

      Type:

      Boolean

      API:

      getMasterSlaveConnectionStateWithCompletion

      DJIRemoteControllerParamStopMasterSearching

      Access:

      Action

      Type:

      API:

      stopMasterSearchingWithCompletion