Struct PlayerBufferingTime
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
Represents properties for streaming buffering time.
public struct PlayerBufferingTime
Constructors
View SourcePlayerBufferingTime(int, int)
Initializes a new instance of the PlayerBufferingTime struct.
Declaration
public PlayerBufferingTime(int preBufferMillisecond = -1, int reBufferMillisecond = -1)
Parameters
Type | Name | Description |
---|---|---|
int | preBufferMillisecond | A duration of buffering data that must be prerolled to start playback. |
int | 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) |
Properties
View SourcePreBufferMillisecond
Gets or sets the duration of buffering data that must be prerolled to start playback.
Declaration
public int PreBufferMillisecond { get; set; }
Property Value
Type | Description |
---|---|
int |
ReBufferMillisecond
Gets or sets the duration of buffering data that must be prerolled to resume playback if player enters pause state for buffering.
Declaration
public int ReBufferMillisecond { get; set; }
Property Value
Type | Description |
---|---|
int |