DJIGimbalDelegate

@protocol DJIGimbalDelegate <NSObject>

This protocol provides delegate methods to receive the updated state and user configuration.

  • Updates the gimbal’s current state.

    Declaration

    Objective-C

    - (void)gimbal:(DJIGimbal *_Nonnull)gimbal
        didUpdateGimbalState:(DJIGimbalState *_Nonnull)gimbalState;
  • Update the gimbal’s user configuration data. This method is only supported by Osmo series.

    Declaration

    Objective-C

    - (void)gimbal:(DJIGimbal *_Nonnull)gimbal
        didUpdateAdvancedSettingsState:
            (DJIGimbalAdvancedSettingsState *_Nonnull)settingsState;
  • Update the gimbal’s remaining energy in percentage. This method is only supported for Ronin-MX.

    Declaration

    Objective-C

    - (void)gimbal:(DJIGimbal *_Nonnull)gimbal
        didUpdateGimbalBatteryRemainingEnergy:(NSInteger)energy;