Struct PlayerBufferingTime

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.MediaPlayer.dll
API Level:
5

Represents properties for streaming buffering time.

C#
Copy
public struct PlayerBufferingTime

Constructors

View Source

PlayerBufferingTime(Int32, Int32)

Initializes a new instance of the PlayerBufferingTime struct.

Declaration
C#
Copy
public PlayerBufferingTime(int preBufferMillisecond = -1, int reBufferMillisecond = -1)
Parameters
Type Name Description
System.Int32 preBufferMillisecond

A duration of buffering data that must be prerolled to start playback.

System.Int32 reBufferMillisecond

A duration of buffering data that must be prerolled to resume playback, when player is internally paused for buffering. Except 0 and -1, setting at least 1000 milliseconds is recommended to ensure the normal buffering operation. 0 : use platform default value, which depends on the streaming type and network status. It is set as the initial value of this parameter. If the player state is Playing or Paused, this function will return correct time value instead of 0. (since 5.5) -1 : use current value. (since 5.5)

API Level: 5

Properties

View Source

PreBufferMillisecond

Gets or sets the duration of buffering data that must be prerolled to start playback.

Declaration
C#
Copy
public int PreBufferMillisecond { get; set; }
Property Value
Type Description
System.Int32
API Level: 5
View Source

ReBufferMillisecond

Gets or sets the duration of buffering data that must be prerolled to resume playback if player enters pause state for buffering.

Declaration
C#
Copy
public int ReBufferMillisecond { get; set; }
Property Value
Type Description
System.Int32
API Level: 5