Copyright © 2005-2019 MultiMedia Soft

TriggerReached event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the song playback reaches an existing trigger position.

During playback this event is not generated if the current playback position should be moved, through a call to the SeekSound or ForwardSound methods, to a position exceeding the one of the trigger itself.

 

See the How to add Triggers and Cue Points to a player section for further details about triggers.

 

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event TriggerReached As TriggerReachedEventHandler


 

[C#]

public event TriggerReachedEventHandler TriggerReached;


 

[C++]

public: __event TriggerReachedEventHandler* TriggerReached;


 

 

Event Data

 

The event handler receives an argument of type TriggerReachedEventArgs having the following parameters:

 

Parameters

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that fired the event

nTriggerID

Number representing the trigger identifier