Search Results for

    Show / Hide Table of Contents

    Class MediaService

    Inheritance
    Object
    Service
    MediaService
    Inherited Members
    Service.ClientTimeout
    Service.AuthenticatedApi
    Service.HttpClient
    Service.AddAuthTokenHeader(HttpRequestHeaders, String)
    Service.Serialize(Object)
    Service.SerializeContent(Object)
    Service.SerializeContent(Object, String)
    Service.Deserialize<T>(String)
    Service.ProcessApiResult<T>(HttpResponseMessage, String)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AcousticWorkbench
    Assembly: AcousticWorkbench.dll
    Syntax
    public class MediaService : Service

    Constructors

    | Improve this Doc View Source

    MediaService(IAuthenticatedApi)

    Declaration
    public MediaService(IAuthenticatedApi authenticatedApi)
    Parameters
    Type Name Description
    IAuthenticatedApi authenticatedApi

    Fields

    | Improve this Doc View Source

    MediaDownloadMaximumSeconds

    Declaration
    public const double MediaDownloadMaximumSeconds = 300
    Field Value
    Type Description
    Double
    | Improve this Doc View Source

    MediaDownloadMinimumSeconds

    Declaration
    public const double MediaDownloadMinimumSeconds = 0.5
    Field Value
    Type Description
    Double

    Methods

    | Improve this Doc View Source

    DownloadMediaWave(Int64, Double, Double, Nullable<Int32>, Nullable<Byte>)

    Declaration
    public async Task<(Stream Stream, long? ContentLength)> DownloadMediaWave(long audioRecordingId, double startOffsetSeconds, double endOffsetSeconds, int? sampleRateHertz = default(int? ), byte? channel)
    Parameters
    Type Name Description
    Int64 audioRecordingId
    Double startOffsetSeconds
    Double endOffsetSeconds
    Nullable<Int32> sampleRateHertz
    Nullable<Byte> channel
    Returns
    Type Description
    Task<(T1, T2)<Stream, Nullable<Int64>>>
    | Improve this Doc View Source

    GetMetaData(Int64)

    Declaration
    public async Task<Media> GetMetaData(long audioRecordingId)
    Parameters
    Type Name Description
    Int64 audioRecordingId
    Returns
    Type Description
    Task<Media>

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top