Package com.sentilant.telematicssdk
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 Summary
Modifier and TypeMethodDescriptionvoidCalled when there is an error in fetching the telematics user information.voidCalled when the telematics user information has been successfully fetched.
-
Method Details
-
onTelematicsUserFetched
Called when the telematics user information has been successfully fetched.- Parameters:
user- An instance ofTelematicsUserDetailscontaining the details of the current telematics user.
-
onError
Called when there is an error in fetching the telematics user information.- Parameters:
e- An instance ofTelematicsSDKExceptioncontaining details about the error that occurred.
-