VNWinFormsPlayer

Public Member Functions | Properties | List of all members
VideoNext.WindowsForms.Player.StreamStateChangedEventArgs Class Reference

Media player state changed event arguments. More...

Inheritance diagram for VideoNext.WindowsForms.Player.StreamStateChangedEventArgs:

## Public Member Functions
| StreamStateChangedEventArgs (StreamState oldValue, StreamState newValue, int errorCode, string errorMessage)
| Constructor. More...
Public Member Functions inherited from VideoNext.WindowsForms.Player.ValueChangedEventArgs< StreamState >
| ValueChangedEventArgs (T oldValue, T newValue)
| Constructor. More...

## Properties
int | ErrorCode`[get]`
| Error code (if error occurred). More...
string | ErrorMessage`[get]`
| Error message (if error occurred). More...
Properties inherited from VideoNext.WindowsForms.Player.ValueChangedEventArgs< StreamState >
T | OldValue`[get]`
| Old value. More...
T | NewValue`[get]`
| New value. More...

## Detailed Description

Media player state changed event arguments.

## Constructor & Destructor Documentation

## ◆ StreamStateChangedEventArgs()

VideoNext.WindowsForms.Player.StreamStateChangedEventArgs.StreamStateChangedEventArgs | ( | StreamState | oldValue,
|  | StreamState | newValue,
|  | int | errorCode,
|  | string | errorMessage
| ) |  |

Constructor.

Parameters

  oldValue | old player state value
  newValue | new player state value
  errorCode | error code
  errorMessage | error message

## Property Documentation

## ◆ ErrorCode

int VideoNext.WindowsForms.Player.StreamStateChangedEventArgs.ErrorCode
| get

Error code (if error occurred).

## ◆ ErrorMessage

string VideoNext.WindowsForms.Player.StreamStateChangedEventArgs.ErrorMessage
| get

Error message (if error occurred).

The documentation for this class was generated from the following file:

- src/VideoNext.WindowsForms.Player/EventArgs.cs