An interface class for types that are interested in receiving updates about changes to available MIDI endpoints. More...
Public Member Functions | |
EndpointsListener ()=default | |
EndpointsListener (const EndpointsListener &)=default | |
EndpointsListener (EndpointsListener &&) noexcept=default | |
EndpointsListener & | operator= (const EndpointsListener &)=default |
EndpointsListener & | operator= (EndpointsListener &&) noexcept=default |
virtual | ~EndpointsListener ()=default |
virtual void | endpointsChanged ()=0 |
Called on each platform to notify listeners that some aspect of the MIDI configuration has changed, including device connection, disconnection, and property changes. | |
virtual void | virtualMidiServiceActiveChanged () |
Called on Android to indicate that the service managing the virtual MIDI ports was started or stopped. |
An interface class for types that are interested in receiving updates about changes to available MIDI endpoints.
|
default |
Referenced by EndpointsListener(), EndpointsListener(), operator=(), operator=(), and ~EndpointsListener().
|
default |
References EndpointsListener().
|
defaultnoexcept |
References EndpointsListener().
|
virtualdefault |
References EndpointsListener().
|
default |
References EndpointsListener().
|
defaultnoexcept |
References EndpointsListener().
|
pure virtual |
Called on each platform to notify listeners that some aspect of the MIDI configuration has changed, including device connection, disconnection, and property changes.
References endpointsChanged().
Referenced by endpointsChanged().
|
virtual |
Called on Android to indicate that the service managing the virtual MIDI ports was started or stopped.
Creating a virtual endpoint will fail if the service is not running, so you may wish to listen for this event, and to create the virtual ports after this function has been called. You can query the current state of the service using Endpoints::isVirtualUmpServiceActive() and Endpoints::isVirtualBytestreamServiceActive().
References virtualMidiServiceActiveChanged().
Referenced by virtualMidiServiceActiveChanged().