Interface TelematicsUserDetailsCallback


public interface TelematicsUserDetailsCallback
A callback interface to handle the asynchronous result of fetching the current telematics user information. Implementations of this interface are typically passed into SDK methods that request user details and are invoked once the request completes successfully or fails.
  • Method Details

    • onTelematicsUserFetched

      void onTelematicsUserFetched(TelematicsUserDetails user)
      Called when the telematics user information has been successfully fetched.
      Parameters:
      user - An instance of TelematicsUserDetails containing the details of the current telematics 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 that occurred.