Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IMediaExtractor Interface

    Namespace: Stride.Media
    Assembly: Stride.dll

    public interface IMediaExtractor : IMediaReader
    Name Description
    Properties
    MediaCurrentTime

    Gets the current presentation time of the media

    MediaDuration

    Returns the total duration of the media

    MediaType

    Returns the type of media that is extracted

    Methods
    ReachedEndOfMedia()

    Specifies if the end of the media has been reached.

    SeekRequestCompleted()

    Indicate if a previous seek request has been completed.

    | Improve this Doc View Source

    Properties


    MediaCurrentTime

    Gets the current presentation time of the media

    TimeSpan MediaCurrentTime { get; }
    Property Value
    Type Description
    System.TimeSpan

    MediaDuration

    Returns the total duration of the media

    TimeSpan MediaDuration { get; }
    Property Value
    Type Description
    System.TimeSpan

    MediaType

    Returns the type of media that is extracted

    MediaType MediaType { get; }
    Property Value
    Type Description
    MediaType
    | Improve this Doc View Source

    Methods


    ReachedEndOfMedia()

    Specifies if the end of the media has been reached.

    bool ReachedEndOfMedia()
    Returns
    Type Description
    System.Boolean

    SeekRequestCompleted()

    Indicate if a previous seek request has been completed.

    bool SeekRequestCompleted()
    Returns
    Type Description
    System.Boolean

    Inherited Members

    IMediaReader.IsDisposed
    IMediaReader.SpeedFactor
    IMediaReader.Seek(TimeSpan)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation