Copyright © 2005-2019 MultiMedia Soft

PlayerDisconnected event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when the output device connected to a certain player is disconnected from the system: this may happen when using USB devices; with this event you can be informed that the player cannot continue playback on the output device and that a new device should be used.

 

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

 

 

Syntax

 

[Visual Basic]

Public Event PlayerDisconnected As PlayerEventHandler


 

[C#]

public event PlayerEventHandler PlayerDisconnected;


 

[C++]

public: __event PlayerEventHandler* PlayerDisconnected;


 

 

Event Data

 

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

 

Parameters

Description

 

 

nPlayerIndex

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