Package com.sentilant.telematicssdk
Interface TelematicsUserCallback
public interface TelematicsUserCallback
A callback interface to handle the result of fetching the current telematics user information.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when there is an error in fetching the telematics user information.voidonTelematicsUserFetched(int userId, String userName) Called when the telematics user information is successfully fetched.
-
Method Details
-
onTelematicsUserFetched
Called when the telematics user information is successfully fetched.- Parameters:
userId- The unique identifier of the user.userName- The name of the user.
-
onError
Called when there is an error in fetching the telematics user information.- Parameters:
e- An instance ofTelematicsSDKExceptioncontaining details about the error.
-