@FunctionalInterface
public interface ActivateListener
The listener interface for API enabled events. The class
that is interested in processing API enabled events implements this
interface and the object created with that class is registered with
API.addActivateListener()
. It provides an implementation with the
opportunity to perform initialization tasks.
A listener of this type is called back immediately after the
API.run()
method is invoked if the emulator is actively running a
file; otherwise, it will be triggered when a file is opened. The Remote API
is not enabled until a socket connection is established.
Modifier and Type | Method and Description |
---|---|
void |
apiEnabled()
Invoked when the API is enabled.
|
Copyright © 2017 nintaco.com
Nintaco is free software; you can redistribute it and/or modify it under the terms of LGPLv2.1.