install
Starts the porthole: collectors, and the socket the timeline and the MCP server connect to.
You are unlikely to call this. PortholeInitializer does it on process start, which is early enough to see the first state write — calling it yourself from Application.onCreate is already later than that. It is public for the case where the initializer has been removed from the manifest deliberately.
Idempotent, and safe to call from any thread: the second call returns without doing anything.
Parameters
port
the port to bind on the device, defaulting to the porthole_port resource the Gradle plugin generates, and to DEFAULT_PORT if that resource is absent.