Package nl.harm27.obs.websocket.listener
Class ProfilesEventListener
- java.lang.Object
-
- nl.harm27.obs.websocket.listener.ProfilesEventListener
-
- All Implemented Interfaces:
EventListener
public abstract class ProfilesEventListener extends Object implements EventListener
The EventListener for the events that are part of the Profiles category.
-
-
Constructor Summary
Constructors Constructor Description ProfilesEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcallEvent(BaseEvent baseEvent)List<EventType>getSupportedEvents()voidprofileChanged(ProfileChanged profileChanged)Triggered when switching to another profile or when renaming the current profile.voidprofileListChanged(ProfileListChanged profileListChanged)Triggered when a profile is created, added, renamed, or removed.
-
-
-
Method Detail
-
profileChanged
public void profileChanged(ProfileChanged profileChanged)
Triggered when switching to another profile or when renaming the current profile.- Parameters:
profileChanged- The received event.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
profileListChanged
public void profileListChanged(ProfileListChanged profileListChanged)
Triggered when a profile is created, added, renamed, or removed.- Parameters:
profileListChanged- The received event.- Since:
- 4.0.0
- See Also:
- OBS WebSocket Documentation
-
callEvent
public final void callEvent(BaseEvent baseEvent)
- Specified by:
callEventin interfaceEventListener
-
getSupportedEvents
public final List<EventType> getSupportedEvents()
- Specified by:
getSupportedEventsin interfaceEventListener
-
-