Copyright © 2005-2019 MultiMedia Soft

TriggersGetCount method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the number of existing triggers set into the given player.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function TriggersGetCount (

nPlayerIndex as Int16

) as Int32


 

[C#]

public Int32 TriggersGetCount (

Int16 nPlayerIndex

);


 

[C++]

public: Int32 TriggersGetCount (

Int16 nPlayerIndex

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player owning the triggers

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

>= 0

The number of existing triggers