Interface MKBufferAPI

Hierarchy

  • MKBufferAPI

Methods

  • Returns the current and target buffer level for the given buffer type and media type.

    Parameters

    • type: MKBufferType

      the buffer type for which to get the buffer level for.

    • media: MKMediaType

      the media type for which to get the buffer level for.

    Returns MKBufferLevel

  • Sets the target buffer level for the chosen buffer and media type.

    Parameters

    • type: MKBufferType

      The buffer type to change the target buffer level for.

    • value: number

      The value to set.

    • media: MKMediaType

      The media type to change the target buffer level for.

    Returns void