DJISDKManager(DebugServer)

@interface DJISDKManager (DebugServer)

This class provides methods for you to start and stop the SDK debug server. You can use them with the DJI Bridge App for remote debugging.

  • Start the debug server.

    Declaration

    Objective-C

    + (void)startSDKDebugServerWithCompletion:
        (nonnull void (^)(NSString *_Nonnull))block;

    Parameters

    completion

    block returns the IP address of the server.

  • Register the delegate object to get the connection status of the debug server with the Remote controller and the debug client.

    Declaration

    Objective-C

    + (void)setDebugServerDelegate:(nonnull id<DJISDKDebugServerDelegate>)delegate;
  • Stop the debug server and release the service objects used by the server.

    Declaration

    Objective-C

    + (void)stopSDKDebugServer;