MediaNativeField Class
Represents a frame, item or attribute of a tag that MediaTagInfo has no property for, as stored in the file.
public sealed class MediaNativeFieldRemarks
The meaning of MediaNativeField.Id, MediaNativeField.Data and MediaNativeField.Flags depends on MediaNativeField.TagType:
| Tag type | Id, data and flags |
|---|---|
MediaTagType.Id3v2 | The four-character ID3v2.4 frame identifier, such as PRIV or UFID, the content of the frame, and the ID3v2.4 frame flags. When the flags mark the frame as encrypted, the data is the content as stored. |
MediaTagType.Mp4 | The four-character type of the item, such as ©too or pgap, and the content of the item atom: its data atoms, headers included. The flags must be 0. |
MediaTagType.Ape | The key of the item, its value, and the item flags: binary (2) or external link (4), and read-only (1). |
MediaTagType.Asf | The name of the attribute, its value, and its data type: byte array (1), boolean (2, stored as a 32-bit value of 0 or 1), 32-bit (3), 64-bit (4) or 16-bit (5) little-endian integer, or GUID (6). |
Constructors
| Name | Description |
|---|---|
| MediaNativeField() |
MediaNativeField()
MediaNativeField.cs- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public MediaNativeField()No documentation is available.
Properties
| Name | Description |
|---|---|
| Data | Gets the content of the field, as stored. |
| Flags | Gets the flags or the data type of the field. Their meaning depends on MediaNativeField.TagType. |
| Id | Gets the identifier of the field: a frame identifier, an atom type, an item key or an attribute name. |
| TagType | Gets the tag format this field belongs to. |
Flags
MediaNativeField.csGets the flags or the data type of the field. Their meaning depends on MediaNativeField.TagType.
public int Flags { get; init; }Property value
TagType
MediaNativeField.csGets the tag format this field belongs to.
public required MediaTagType TagType { get; init; }