Struct PlayerBufferingTime

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.MediaPlayer.dll

    Represents properties for streaming buffering time.

    public struct PlayerBufferingTime

    Constructors

    View Source

    PlayerBufferingTime(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 Source

    PreBufferMillisecond

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

    Declaration
    public int PreBufferMillisecond { readonly get; set; }
    Property Value
    Type Description
    int
    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
    public int ReBufferMillisecond { readonly get; set; }
    Property Value
    Type Description
    int
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX