DJI Mobile SDK Documentation

      class DJIRCCustomButtonTags

      @interface DJIRCCustomButtonTags : NSObject
      Header:DJIRemoteControllerBaseTypes.h
      Inherits From:NSObject
      SDK Key:DJIRemoteControllerKey.DJIRemoteControllerParamCustomButtonTags
      Description:

      Tags for C1 and C2 buttons on the remote controller

      Class Members:
      property
      property c1ButtonTag
      @property (nonatomic, nullable, readonly) NSNumber *c1ButtonTag
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      Button tag for custom button 2.

      property
      property c2ButtonTag
      @property (nonatomic, nullable, readonly) NSNumber *c2ButtonTag
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      Button tag for custom button 2

      method initWithC1ButtonTag:andC2ButtonTag
      -(nullable instancetype)initWithC1ButtonTag:(NSNumber *_Nullable)c1ButtonTag
      andC2ButtonTag:(NSNumber *_Nullable)c2ButtonTag
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      Create a DJIRCCustomButtonTags instance with values for C1 and C2. A valid tag is an integer in range [0, 255].

      Input Parameters:
      NSNumber *_Nullable c1ButtonTagButton tag for custom button 1 with range [0, 255].
      NSNumber *_Nullable c2ButtonTagButton tag for custom button 2 with range [0, 255].
      Return:
      nullable instancetypeInstance of DJIRCCustomButtonTags. nil if the value is invalid, or both c1ButtonTag and c2ButtonTag are nil.