Parrot
Parrot copied to clipboard
New Event + EventHandler model.
Event shall describe an action in the Parrot UI.
EventHandler shall describe a response to an action in the Parrot UI.
Events:
-
FocusEvent: A person changed their focus (viewing or typing in a conversation). Includes self. -
PresenceEvent: A person's presence changed. Includes self. Includes dis/connections. -
MessageEvent: A message was sent or received. Includes self.- Properties:
Group?,Background?,Sent?
- Properties:
-
InvitationEvent: A person was invited to join a conversation. -
MentionEvent: A name or a keyword was mentioned in a conversation.
EventHandlers:
-
SoundEventHandler: Play a sound. -
UserNotificationEventHandler: Show a user notification. -
BezelEventHandler: Show a display bezel (like volume/brightness). -
BacklightFlashEventHandler: Flash the (keyboard) backlight. -
VibrationEventHandler: Vibrate the device. -
LEDEventHandler: Flash the LED (not available). -
ScriptEventHandler: Run a script. -
BounceDockEventHandler: Bounce the app's dock icon. -
SpeakEventHandler: Speak the event using TTS.
Maybe a SoundCenter class in Parrot that listens to all send/recv message notifications and plays sounds/notes?