Interface TelematicsUserCallback


public interface TelematicsUserCallback
A callback interface to handle the result of fetching the current telematics user information.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when there is an error in fetching the telematics user information.
    void
    onTelematicsUserFetched(int userId, String userName)
    Called when the telematics user information is successfully fetched.
  • Method Details

    • onTelematicsUserFetched

      void onTelematicsUserFetched(int userId, String userName)
      Called when the telematics user information is successfully fetched.
      Parameters:
      userId - The unique identifier of the user.
      userName - The name of the user.
    • onError

      void onError(TelematicsSDKException e)
      Called when there is an error in fetching the telematics user information.
      Parameters:
      e - An instance of TelematicsSDKException containing details about the error.