IRTKManager
interface IRTKManager
Description: RTK Management Center
property isConnected
var isConnected = false
Description: Whether to access the RTK module
property rtkSignalEnum
var rtkSignalEnum: RTKSignalEnum = RTKSignalEnum.UNKNOWN
Description: Signal type of current RTK
property rtkSwitchModeEnum
var rtkSwitchModeEnum: RTKSignalModeEnum = RTKSignalModeEnum.ALL_SINGLE_MODE
Description: Signal mode of current Rtk(0:Full signal mode,1:Single Beidou signal mode)
method updateNetRtkType
fun updateNetRtkType(isQianxun: Boolean, mHost: String?, mPort: Int?, callback: ChangeRTKConfigCallback)
Description: Users set the type and configuration of network RTK as needed
Input parameters:
isQianxun: weather Qianxun company TRK
mHost: network RTK host
mPort: network RTK port
callback:callback
Output parameter: None。
Related parameters: None。
method switchRTKSignalEnum
fun switchRTKSignalEnum(rtkSignalEnum: RTKSignalEnum, callback: ChangeRTKConfigCallback)
Description: set RTK signal type
Input parameters:
rtkSignalEnum: RTKSignalEnum
callback :callback
Output parameter: None。
Related parameters: RTKSignalEnum。
method enableRTKLocation
fun enableRTKLocation(
isEnabled: Boolean
)
Description: weather enable RTK location
Input parameters: isEnabled:open or clase
Output parameter: None。
Related parameters: None。
method switchRTKSignalMode
fun switchRTKSignalMode(rtkSwitchModeEnum: RTKSignalModeEnum, callback: ChangeRTKConfigCallback)
Description: set RTK signal mode
Input parameters: rtkSignalEnum: Refer to RTKSignalEnum
callback:callback
Output parameter: None。
Related parameters: RTKSignalEnum。
method authNetRtk
abstract fun authNetRtk(
address: String,
port: Int,
account: String,
password: String,
mountPoint: String,
isQianxun: Boolean,
callback: RTKAuthoCallback
)
Description: set network RTK server address,port ,account 、password 、mount point
Input parameters: address: serveraddress
port: server port
account: account
password: password
mountPoint:mountPoint
isQianxun: Qianxun company network RTK
callback: call back
Output parameter: None。
Related parameters: lback: RTKAuthoC。
method loginState
fun loginState(): RTKLoginStatusEnum
Description: RTK login status
Input parameters: None
Output parameter: Refer to RTKLoginStatusEnum
Related parameters: RTKLoginStatusEnum。
method closeCurrentRtk
fun closeCurrentRtk(callback: CommonCallbacks.CompletionCallback)
Description: close current RTK
Input parameters: callback
Output parameter: None
Related parameters: None
method registerRtkInfoCallBack
fun registerRtkInfoCallBack(mRtkCallBackReportInfo: RTKReportInfoCallback)
Description: register RTK data report monitoring
Input parameters: mRtkCallBackReportInfo
Output parameter: None
Related parameters: None
method unRegisterRtkInfoCallBack
fun unRegisterRtkInfoCallBack(mRtkCallBackReportInfo: RTKReportInfoCallback)
Description: unregister RTK data report monitoring
Input parameters: mRtkCallBackReportInfo
Output parameter: None
Related parameters: None
method setAutoConnectRTKAccount
fun setAutoConnectRTKAccount(isAutoConnect: Boolean)
Description: set weather auto connect RTK account
Input parameters: isAutoConnect
Output parameter: None
Related parameters: None
method autoConnectRTKAccount
fun autoConnectRTKAccount(): Boolean
Description: weather is auto connect RTK account
Input parameters: None
Output parameter: Boolean
Related parameters: None