For AI agents: the docs index is at https://mobile.developer.smartlook.com/llms.txt. Append .md to any documentation page URL to get its markdown version.
// A callback function that gets called when the user URL changes.
function urlChangedCallback(url: string) {
console.log('Emitted url', url);
}
Smartlook.registerUserUrlChangedListener({
userUrlChangedCallback: urlChangedCallback
});
Smartlook.registerSessionUrlChangedListener({
sessionUrlChangedCallback: urlChangedCallback
});