34,333
edits
Changes
no edit summary
val appLinkData = appLinkIntent.data
</pre>
<htmlet>as30kotlin</htmlet>
Having obtained the Uri for the app link, the various components that make up the URL path can be used to make decisions about the actions to be performed within the activity. In the following code example, the last component of the URL is used to identify whether content should be displayed for a new or existing user: