This
ApplicationLifecycle API provides methods for managing the lifecycle of an application, including retrieving information about how the application was started, such as the type of intent
LaunchDetails::LaunchType, logging the results of deeplinking attempts, whether it was
LaunchResult.Success or not, and handling changes to the launch intent.