# class IRTKCenter

    interface IRTKCenter

Package: | dji.v5.manager.interfaces

##### Description:

The class to manage RTK module. It is used to get an instance of chihiro network RTK, CMCC network RTK, ustom network RTK or RTK base station and provides the initialization of chihiro network RTK or custom network RTK, the connection and configuration of RTK base station.
Note:
When calling `KeyMultiControlRequestPairing` pair the remote controller to `CHANNEL_B`, RTK functions will not be available.
`Supported since MSDK 5.0.0`

##### Class Members:

method
getQXRTKManager

###### method getQXRTKManager

    INetworkRTKManager getQXRTKManager()

Package: | dji.v5.manager.interfaces

##### Description:

Get an instance of chihiro NetworkRTKManager. It is used to initialize and enable chihiro network RTK service.
`Supported since MSDK 5.0.0`

##### Return:

INetworkRTKManager | Return an instance of chihiro NetworkRTKManager.

method
getCMCCRTKManager

###### method getCMCCRTKManager

    INetworkRTKManager getCMCCRTKManager()

Package: | dji.v5.manager.interfaces

##### Description:

Get an instance of CMCC NetworkRTKManager. It is used to initialize and enable CMCC network RTK service.
`Supported since MSDK 5.1.0`

##### Return:

INetworkRTKManager | Return an instance of CMCC NetworkRTKManager.

method
getCustomRTKManager

###### method getCustomRTKManager

    INetworkRTKManager getCustomRTKManager()

Package: | dji.v5.manager.interfaces

##### Description:

Get an instance of custom NetworkRTKManager. It is used to initialize and enable custom network RTK service.
`Supported since MSDK 5.0.0`

##### Return:

INetworkRTKManager | Return an instance of custom NetworkRTKManager.

method
getRTKStationManager

###### method getRTKStationManager

    IRTKStationManager getRTKStationManager()

Package: | dji.v5.manager.interfaces

##### Description:

Get an instance of RTKStationManager. It is used to connect and configure the RTK base station.
`Supported since MSDK 5.0.0`

##### Return:

IRTKStationManager | Return an instance of RTKStationManager.

method
setAircraftRTKModuleEnabled

###### method setAircraftRTKModuleEnabled

    void setAircraftRTKModuleEnabled(boolean isEnabled, CommonCallbacks.CompletionCallback callback)

Package: | dji.v5.manager.interfaces

##### Description:

Enable or disable the RTK module of an aircraft. You must set this method before starting the motor, otherwise, this method is ineffective. Pass`true`in means to enable the RTK module. The aircraft has to read RTK data to take off. Also, the flight controller must use the accurate location data given by the RTK module. Pass`false`means to disable the RTK module, the flight controller will no longer use the location data from the RTK module.
`Supported since MSDK 5.0.0`

##### Input Parameters:

boolean isEnabled | `true`means to enable the RTK module of an aircraft.
CommonCallbacks.CompletionCallback callback | Return the result of execution.

method
getAircraftRTKModuleEnabled

###### method getAircraftRTKModuleEnabled

    void getAircraftRTKModuleEnabled(CommonCallbacks.CompletionCallbackWithParam<Boolean> callback)

Package: | dji.v5.manager.interfaces

##### Description:

Get whether the RTK module of an aircraft is enabled or disabled.
`Supported since MSDK 5.0.0`

##### Input Parameters:

CommonCallbacks.CompletionCallbackWithParam<Boolean> callback | Return the result of execution.

method
setRTKReferenceStationSource

###### method setRTKReferenceStationSource

    void setRTKReferenceStationSource(RTKReferenceStationSource source, CommonCallbacks.CompletionCallback callback)

Package: | dji.v5.manager.interfaces

##### Description:

Set the RTK reference station source of an aircraft. The RTK module of an aircraft provides chihiro network RTK, CMCC network RTK, custom network RTK and DJI's D-RTK 2 base station to select.
Note:
After setting the RTK reference station source, you should restart the aircraft.
`Supported since MSDK 5.0.0`

##### Input Parameters:

RTKReferenceStationSource source | The RTK reference station source of an aircraft
CommonCallbacks.CompletionCallback callback | Return the result of execution.

method
getRTKReferenceStationSource

###### method getRTKReferenceStationSource

    void getRTKReferenceStationSource(CommonCallbacks.CompletionCallbackWithParam<RTKReferenceStationSource> callback)

Package: | dji.v5.manager.interfaces

##### Description:

Get the RTK reference station source of an aircraft.
`Supported since MSDK 5.0.0`

##### Input Parameters:

CommonCallbacks.CompletionCallbackWithParam<RTKReferenceStationSource> callback | Return the result of execution.

method
setRTKMaintainAccuracyEnabled

###### method setRTKMaintainAccuracyEnabled

    void setRTKMaintainAccuracyEnabled(boolean enabled, CommonCallbacks.CompletionCallback callback)

Package: | dji.v5.manager.interfaces

##### Description:

enabled or disabled maintain positioning accuracy mode. In case of an RTK module communication error, the aircraft will automatic maintain the current RTK status with gradually decreasing accurcy. The aircraft will exit RTK if the connection is not re-established within 10 minutes.
`Supported since MSDK 5.0.0`

##### Input Parameters:

boolean enabled | ’‘TRUE‘’ to enabled maintain positioning accuracy mode.
CommonCallbacks.CompletionCallback callback | Return the result of execution.

method
getRTKMaintainAccuracyEnabled

###### method getRTKMaintainAccuracyEnabled

    void getRTKMaintainAccuracyEnabled(CommonCallbacks.CompletionCallbackWithParam<Boolean> callback)

Package: | dji.v5.manager.interfaces

##### Description:

Get if the maintain positioning accuracy mode is enabled.
`Supported since MSDK 5.0.0`

##### Input Parameters:

CommonCallbacks.CompletionCallbackWithParam<Boolean> callback | Return the result of execution.

method
addRTKLocationInfoListener

###### method addRTKLocationInfoListener

    void addRTKLocationInfoListener(RTKLocationInfoListener listener)

Package: | dji.v5.manager.interfaces

##### Description:

Add the listener of RTK location information.
`Supported since MSDK 5.0.0`

##### Input Parameters:

RTKLocationInfoListener listener | The listener of RTK location information.

method
removeRTKLocationInfoListener

###### method removeRTKLocationInfoListener

    void removeRTKLocationInfoListener(RTKLocationInfoListener listener)

Package: | dji.v5.manager.interfaces

##### Description:

Remove the listener of RTK location information.
`Supported since MSDK 5.0.0`

##### Input Parameters:

RTKLocationInfoListener listener | The listener of RTK location information.

method
clearAllRTKLocationInfoListener

###### method clearAllRTKLocationInfoListener

    void clearAllRTKLocationInfoListener()

Package: | dji.v5.manager.interfaces

##### Description:

Remove all listener of RTK location information.
`Supported since MSDK 5.0.0`

method
addRTKSystemStateListener

###### method addRTKSystemStateListener

    void addRTKSystemStateListener(RTKSystemStateListener listener)

Package: | dji.v5.manager.interfaces

##### Description:

Add the listener of the RTK system state.
`Supported since MSDK 5.0.0`

##### Input Parameters:

RTKSystemStateListener listener | The listener of RTK system state.

method
removeRTKSystemStateListener

###### method removeRTKSystemStateListener

    void removeRTKSystemStateListener(RTKSystemStateListener listener)

Package: | dji.v5.manager.interfaces

##### Description:

Remove the listener of the RTK system state.
`Supported since MSDK 5.0.0`

##### Input Parameters:

RTKSystemStateListener listener | The listener of RTK system state.

method
clearAllRTKSystemStateListener

###### method clearAllRTKSystemStateListener

    void clearAllRTKSystemStateListener()

Package: | dji.v5.manager.interfaces

##### Description:

Remove all listeners of the RTK system state.
`Supported since MSDK 5.0.0`

##### Related:

class
INetworkRTKManager
class
IRTKStationManager
enum
RTKReferenceStationSource

###### enum RTKReferenceStationSource

    enum RTKReferenceStationSource implements JNIProguardKeepTag

Package: | dji.sdk.keyvalue.value.rtkbasestation

##### Description:

The reference station source of an RTK module.
`Supported since MSDK 5.0.0`

##### Enum Members:

QX_NETWORK_SERVICE | Chihiro netowrk RTK reference station.
NTRIP_NETWORK_SERVICE | NTRIP netowrk RTK reference station. If you want to use CMCC network RTK, please set this type.
CUSTOM_NETWORK_SERVICE | Custom netowrk RTK reference station.
BASE_STATION | RTK base station reference station.

##### Class Members:

class
RTKLocationInfo
class
RTKLocation
enum
RTKPositioningSolution

###### enum RTKPositioningSolution

    enum RTKPositioningSolution implements JNIProguardKeepTag

Package: | dji.sdk.keyvalue.value.rtkmobilestation

##### Description:

RTK positioning solution.
`Supported since MSDK 5.0.0`

##### Enum Members:

NONE | No RTK positioning solution. Possible reason: No enough satellites in view, not enough time to lock satellites, and the connection between aircraft and base station is broken.
SINGLE_POINT | Single Point state.
FLOAT | Float state.
FIXED_POINT | Fixed Point state, most accurate state.

##### Class Members:

class
RTKSystemState
class
RTKSatelliteInfo
class
RTKReceiverInfo
enum
GNSSType

###### enum GNSSType

    enum GNSSType implements JNIProguardKeepTag

Package: | dji.sdk.keyvalue.value.rtkmobilestation

##### Description:

GNSS system type.
`Supported since MSDK 5.0.0`

##### Enum Members:

GPS | GPS system.
GLONASS | GLONASS system.
GALILEO | GALILEO system.
BEIDOU | BEIDOU system.

##### Class Members:

class
RTKLocationInfoListener
class
RTKSystemStateListener
class
RTKBaseListener
×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found