MpegAudioPackage Class |
Namespace: GroupDocs.Metadata.Formats.Mpeg
The MpegAudioPackage type exposes the following members.
Name | Description | |
---|---|---|
![]() | MpegAudioPackage |
Initializes a new instance of the MpegAudioPackage class.
|
Name | Description | |
---|---|---|
![]() | Bitrate |
Gets the bitrate.
|
![]() | ChannelMode |
Gets the channel mode.
|
![]() | Copyright |
Gets the copyright bit.
|
![]() | Count |
Gets the number of metadata properties.
(Inherited from MetadataPackage.) |
![]() | Emphasis |
Gets the emphasis.
|
![]() | Frequency |
Gets the frequency.
|
![]() | HeaderPosition |
Gets the header offset.
|
![]() | IsOriginal |
Gets the original bit.
|
![]() | IsProtected |
Gets true if protected.
|
![]() | Item |
Gets the MetadataProperty with the specified name.
(Inherited from MetadataPackage.) |
![]() | Keys |
Gets a collection of the metadata property names.
(Inherited from MetadataPackage.) |
![]() | KnowPropertyDescriptors | Obsolete.
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
![]() | Layer |
Gets the layer description. For an MP3 audio it is '3'.
|
![]() | MetadataType |
Gets the metadata type.
(Inherited from MetadataPackage.) |
![]() | ModeExtensionBits |
Gets the mode extension bits.
|
![]() | MpegAudioVersion |
Gets the MPEG audio version. Can be MPEG-1, MPEG-2 etc.
|
![]() | PaddingBit |
Gets the padding bit.
|
![]() | PrivateBit |
Gets a value indicating whether [private bit].
|
![]() | PropertyDescriptors |
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
Name | Description | |
---|---|---|
![]() | AddProperties |
Adds known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | Contains |
Determines whether the package contains a metadata property with the specified name.
(Inherited from MetadataPackage.) |
![]() | Equals | (Inherited from Object.) |
![]() | FindProperties |
Finds the metadata properties satisfying the specified predicate.
The search is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from MetadataPackage.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | RemoveProperties |
Removes metadata properties satisfying the specified predicate.
(Inherited from MetadataPackage.) |
![]() | Sanitize |
Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | SetProperties |
Sets known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
This method is a combination of AddProperties(FuncMetadataProperty, Boolean, PropertyValue) and UpdateProperties(FuncMetadataProperty, Boolean, PropertyValue).
If an existing property satisfies the predicate its value is updated.
If there is a known property missing in the package that satisfies the predicate it is added to the package.
(Inherited from MetadataPackage.) |
![]() | ToString | (Inherited from Object.) |
![]() | UpdateProperties |
Updates known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
using (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { var root = metadata.GetRootPackage<MP3RootPackage>(); Console.WriteLine(root.MpegAudioPackage.Bitrate); Console.WriteLine(root.MpegAudioPackage.ChannelMode); Console.WriteLine(root.MpegAudioPackage.Emphasis); Console.WriteLine(root.MpegAudioPackage.Frequency); Console.WriteLine(root.MpegAudioPackage.HeaderPosition); Console.WriteLine(root.MpegAudioPackage.Layer); // ... }