POS UI extension

In POS , we need to select location first to start working, i want to get that location selected on start of POS. I have this doc link where it does not have any API for that.
https://shopify.dev/docs/api/pos-extensions/ui-extensions-reference