In SFMC we have default messageservice which is integrated inside the library which will handle onMessageReceived(RemoteMessage rm)., where as in SFMC inside our app how we will change remotemessage to notificationmessage in android.
Here is the more details why we want to change the RemoteMessage to NotificationMessage. we have used customized notification flow in our application , where as in that we have NotificationMessage class. And also for customized notification flow we will not have FireBaseMessagingService., which is inside the SFMC library.