Hello, Thanks for the advice.
You can read the source code to realize the function you need.
Or use the remote access feature of your cell phone
Or use API