DJI Mobile SDK Documentation

      class NetworkServiceState

      class NetworkServiceState
      Package:dji.common.flightcontroller.rtk
      Description:

      The state of network service that provides reference station information.

      Class Members:
      method getChannelState
      NetworkServiceChannelState getChannelState()
      Package:dji.common.flightcontroller.rtk
      Description:

      The state of the channel from the aircraft to the server that provides RTK network service.

      Return:
      NetworkServiceChannelStateThe enum value of NetworkServiceChannelState.
      method
      method getError
      DJIRTKNetworkServiceError getError()
      Package:dji.common.flightcontroller.rtk
      Description:

      The encountered error if any when building up the channel from the aircraft to the server that provides RTK network service.

      Return:
      DJIRTKNetworkServiceErrorThe object of DJIRTKNetworkServiceError.
      State Updates
      interface
      interface Callback
      interface Callback
      Package:dji.common.flightcontroller.rtk
      Description:

      Callback that receives the network service state.

      Interface Methods:
      State Update
      method
      method onNetworkServiceStateUpdate
      void onNetworkServiceStateUpdate(NetworkServiceState networkServiceState)
      Package:dji.common.flightcontroller.rtk
      Description:

      Called when the network service state has been updated.

      Input Parameters:
      NetworkServiceState networkServiceStateThe state of the network service.