Smart Gallery v1.1
 
Loading...
Searching...
No Matches
MessageSystem Class Reference

MessageSystem class is responsible for handling and triggering various events. More...

Public Member Functions

delegate void PlayerFrameChangedHandler (long frame, long frameCount, float progress)
 Delegate for handling player frame changes.
 
void Dispose ()
 Disposes the MessageSystem by nullifying all the event handlers.
 

Public Attributes

Action< int > ContainerFrameChanged
 The event that occurs when the frame changes in the content container.
 
Action< PointerEventData > ContentClicked
 Event triggered when the content is clicked.
 
Action< PointerEventData > ContentDoubleClicked
 Event triggered when the content is double clicked.
 
Action< PointerEventData > ContentDragged
 Event triggered when the content is dragged.
 
Action< PointerEventData > ContentEndDrag
 Event triggered when the content is end dragged.
 
Action< PointerEventData > ContentPressed
 Event triggered when the content is pressed.
 
Action< PointerEventData > ContentReleased
 Event triggered when the content is released.
 
Action FrameChangeComplete
 Event triggered when an animation of the frame changes is completed.
 
Action< int > FrameChanged
 Event triggered when the frame changes.
 
PlayerFrameChangedHandler PlayerFrameChanged
 Event triggered when the frame changes in the player.
 
Action< float > PlayerSetProgress
 Event triggered to set the player's progress.
 
Action< bool > PlayerSetVisible
 Event triggered to show or hide the player.
 
Action< bool > PlayerStateChanged
 Event triggered when the player's paused status changes.
 
Action PlayerToggleState
 Event triggered to toggle the player's paused status.
 
Action ReloadModules
 Event triggered when modules need to be reloaded, e.g. the list or contents of frames have been changed.
 
Action< bool > SetLoadingState
 Event triggered when the loading status changes.
 
Action< int > ThumbnailClicked
 Event triggered when the thumbnail is clicked.
 
Action TitleClicked
 Event triggered when the title is clicked.
 
Action Update
 Event triggered to update the player.
 

Detailed Description

MessageSystem class is responsible for handling and triggering various events.

Member Function Documentation

◆ PlayerFrameChangedHandler()

delegate void PlayerFrameChangedHandler ( long frame,
long frameCount,
float progress )

Delegate for handling player frame changes.

Parameters
frameThe current frame.
frameCountThe total number of frames.
progressThe progress of the player.