Class AttachmentStream
Implements
System.ICloneable
Inherited Members
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
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
GetShortDescriptionBits()
Gets a short description.
Declaration
public override List<string> GetShortDescriptionBits()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | A string. |
Overrides
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