Struct PlayerBufferingTime
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
- API Level:
- 5
Represents properties for streaming buffering time.
public struct PlayerBufferingTime
Constructors
View SourcePlayerBufferingTime(Int32, Int32)
Initializes a new instance of the PlayerBufferingTime struct.
Declaration
public PlayerBufferingTime(int preBufferMillisecond = -1, int reBufferMillisecond = -1)
Parameters
Type | Name | Description |
---|---|---|
Int32 | preBufferMillisecond | A duration of buffering data that must be prerolled to start playback. |
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 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 |
---|---|
Int32 |
API Level: 5
View SourceReBufferMillisecond
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 |
---|---|
Int32 |