Bitmovin Player React Native SDK - v1.1.0
    Preparing search index...

    Class BufferApi

    Provides the means to configure buffer settings and to query the current buffer state. Accessible through Player.buffer.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    nativeId: string

    The native player id that this buffer api is attached to.

    Methods

    • Sets the target buffer level for the chosen buffer BufferType across all MediaType options.

      Parameters

      • type: BufferType

        The BufferType to set the target level for. On iOS and tvOS, only BufferType.FORWARD_DURATION is supported.

      • value: number

        The value to set. On iOS and tvOS when passing 0, the player will choose an appropriate forward buffer duration suitable for most use-cases. On Android setting to 0 will have no effect.

      Returns Promise<void>