'Tizen::TV::Multimedia::ESPlayer' class Reference
extends IDisposable

Properties

EventHandler< ErrorEventArgs > ErrorOccurred
Emit when esplayer encounters some error during preparing for esplayer pipeline or playback es packet. More...
EventHandler< BufferStatusEventArgs > BufferStatusChanged
Emit when es packet queue is empty or full. More...
EventHandler< ResourceConflictEventArgs > ResourceConflicted
Emit when resource conflicted event is emitted. More...
EventHandler< EOSEventArgs > EOSEmitted
Emit when es playback reaches end-of-stream. More...

Public Functions

Protected Functions

Properties

EventHandler< ErrorEventArgs > ErrorOccurred

   Emit when esplayer encounters some error during preparing for esplayer pipeline or playback es packet.

Remarks

   Only one delegate for event handler can be registered for this event.
public void Apps()
{
 var player = new ESPlayer();
 player.ErrorOccurred = (s, e) =>
 {
 switch(e.ErrorType)
 {
 case ErrorType.None:
 // your logic
 }
 };
 // your logic
}
 

Exceptions

InvalidOperationException
   When application attemts to add the delegate for event handler as duplicate.

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N

EventHandler< BufferStatusEventArgs > BufferStatusChanged

   Emit when es packet queue is empty or full.

Remarks

   ESPlayer will inform its buffer state to application as

See

BufferStatus.Underrun, BufferStatus.Overrun

Remarks

   and status.
   Only one delegate for event handler can be registered for this event.
public void Apps()
{
 var player = new ESPlayer();
 player.BufferStatusChanged = (s, e) =>
 {
 var streamType = e.StreamType;
 var bufferStatus = e.BufferStatus;
 // your logic
 };
 // your logic
}
 

Exceptions

InvalidOperationException
   When application attemts to add the delegate for event handler as duplicate.

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N

EventHandler< ResourceConflictEventArgs > ResourceConflicted

   Emit when resource conflicted event is emitted.

Remarks

   Only one delegate for event handler can be registered for this event.
public void Apps()
{
 var player = new ESPlayer();
 player.ResourceConflicted = (s, e) =>
 {
 // your logic
 };
}
 

Exceptions

InvalidOperationException
   When application attemts to add the delegate for event handler as duplicate.

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N

EventHandler< EOSEventArgs > EOSEmitted

   Emit when es playback reaches end-of-stream.

Remarks

   Only one delegate for event handler can be registered for this event.
public void Apps()
{
 var player = new ESPlayer();
 player.EOSEmitted = (s, e) =>
 {
 // your logic
 };
}
 

Exceptions

InvalidOperationException
   When application attemts to add the delegate for event handler as duplicate.

Privilege

http://developer.samsung.com/privilege/esplay

Privilege Level

Partner

Product

TV

Version

5.5.0

SDK Support

N

Public Functions

Protected Functions