Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AttachmentStream

    Inheritance
    System.Object
    StreamBase
    AttachmentStream
    Implements
    System.ICloneable
    Inherited Members
    StreamBase.Index
    StreamBase.Id
    StreamBase.StreamType
    StreamBase.CodecTag
    StreamBase.Pid
    StreamBase.CodecTimeBase
    StreamBase.TimeBase
    StreamBase.StartTime
    StreamBase.Duration
    StreamBase.StartPts
    StreamBase.DurationTs
    StreamBase.IsDefault
    StreamBase.IsForced
    StreamBase.IsHearingImpaired
    StreamBase.Title
    StreamBase.DisplayTitle
    StreamBase.Language
    StreamBase.Comment
    StreamBase.AllTags
    StreamBase.SideDataJson
    StreamBase.ParsingErrors
    StreamBase.IsExternal
    StreamBase.OriginalStream
    StreamBase.GetShortDescription()
    StreamBase.Clone()
    Namespace: Emby.Media.Model.Streams
    Assembly: Emby.Media.Model.dll
    Syntax
    public class AttachmentStream : StreamBase, ICloneable

    Constructors

    AttachmentStream()

    Initializes a new instance of the AttachmentStream class.

    Declaration
    public AttachmentStream()

    AttachmentStream(AttachmentStream)

    Initializes a new instance of the AttachmentStream class.

    Declaration
    public AttachmentStream(AttachmentStream source)
    Parameters
    Type Name Description
    AttachmentStream source

    The source.

    Remarks

    Copy constructor.

    AttachmentStream(MediaStream)

    Initializes a new instance of the AttachmentStream class.

    Declaration
    public AttachmentStream(MediaStream originalStream)
    Parameters
    Type Name Description
    MediaStream originalStream

    The original stream.

    Properties

    AttachmentSize

    Gets or sets the attachment size in bytes.

    Declaration
    [Display(Name = "Attachment Size", Description = "The size of the attachment in bytes.")]
    public int? AttachmentSize { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    The attachment size.

    AttachmentType

    Declaration
    [Display(Name = "Attachment Type", Description = "Attachment Type")]
    public AttachmentTypes AttachmentType { get; set; }
    Property Value
    Type Description
    AttachmentTypes

    CodecName

    Declaration
    public override string CodecName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    StreamBase.CodecName

    FileName

    Gets or sets the attachment file name.

    Declaration
    [Display(Name = "File Name", Description = "The attachment file name.")]
    public string FileName { get; set; }
    Property Value
    Type Description
    System.String

    The attachment file name.

    MimeType

    Gets or sets the attachment mime type.

    Declaration
    [Display(Name = "Mime Type", Description = "The attachment mime type.")]
    public string MimeType { get; set; }
    Property Value
    Type Description
    System.String

    The attachment mime type.

    Methods

    CloneCore()

    Declaration
    protected override StreamBase CloneCore()
    Returns
    Type Description
    StreamBase
    Overrides
    StreamBase.CloneCore()

    GetShortDescriptionBits()

    Gets a short description.

    Declaration
    public override List<string> GetShortDescriptionBits()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    A string.

    Overrides
    StreamBase.GetShortDescriptionBits()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Implements

    System.ICloneable

    Extension Methods

    StreamBaseToMediaStream.AsMediaStream(StreamBase)
    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.