DJIHandheld

@interface DJIHandheld : DJIBaseProduct

This class contains the components of a handheld device.

  • Returns an instance of the handheld device’s camera.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJICamera *_Nullable camera;
  • Returns an instance of the handheld device’s gimbal.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJIGimbal *_Nullable gimbal;
  • Returns an instance of the handheld device’s battery.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJIBattery *_Nullable battery;
  • Returns an instance of the handheld device’s handheldController.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        DJIHandheldController *_Nullable handheldController;
  • Returns an instance of the handheld’s airLink.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJIAirLink *_Nullable airLink;
  • Sets the handheld device’s name (also the Bluetooth name). The name cannot be more than 20 characters. It is only supported by Osmo Mobile.

    Declaration

    Objective-C

    - (void)setHandheldName:(nonnull NSString *)name
             withCompletion:(DJICompletionBlock)completion;

    Parameters

    name

    Name to be set to the device.

    completion

    Completion block.

  • Returns the handheld device’s name. It is only supported by Osmo Mobile.

    Declaration

    Objective-C

    - (void)getHandheldNameWithCompletion:
        (nonnull void (^)(NSString *_Nonnull, NSError *_Nullable))completion;

    Parameters

    completion

    Completion block that returns the getter result.