Skip to main content

LMSDKCallback

The LMSDKCallback class is a callback class that is used to listen to analytic events from the LikeMinds Feed package. It has 4 methods that you can override to listen to events from the package.

class YourCallback extends LMSDKCallback {

void eventFiredCallback(String eventKey, Map<String, dynamic> propertiesMap) {
// Implement eventFiredCallback
}


void loginRequiredCallback() {
// Implement loginRequiredCallback
}


void logoutCallback() {
// Implement logoutCallback
}

// This method is called when the user profile (tag, header) is clicked

void profileRouteCallback({required String lmUserId}) {}
}