C# 클래스 TagLib.Id3v2.PopularimeterFrame

This class extends Frame, implementing support for ID3v2 Popularimeter (POPM) Frames.
상속: TagLib.Id3v2.Frame
파일 보기 프로젝트 열기: MediaPortal/MPTagThat 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : TagLib.Id3v2.Frame

Creates a deep copy of the current instance.

Get ( Tag tag, string user, bool create ) : PopularimeterFrame

Gets a popularimeter frame from a specified tag, optionally creating it if it does not exist.

PopularimeterFrame ( ByteVector data, byte version ) : System

Constructs and initializes a new instance of by reading its raw data in a specified ID3v2 version.

PopularimeterFrame ( string user ) : System

Constructs and initializes a new instance of for a specified user with a rating and play count of zero.

When a frame is created, it is not automatically added to the tag. Consider using Get for more integrated frame creation.

보호된 메소드들

메소드 설명
ParseFields ( ByteVector data, byte version ) : void

Populates the values in the current instance by parsing its field data in a specified version.

PopularimeterFrame ( ByteVector data, int offset, TagLib.Id3v2.FrameHeader header, byte version ) : System

Constructs and initializes a new instance of by reading its raw data in a specified ID3v2 version.

RenderFields ( byte version ) : ByteVector

Renders the values in the current instance into field data for a specified version.

메소드 상세

Clone() 공개 메소드

Creates a deep copy of the current instance.
public Clone ( ) : TagLib.Id3v2.Frame
리턴 TagLib.Id3v2.Frame

Get() 공개 정적인 메소드

Gets a popularimeter frame from a specified tag, optionally creating it if it does not exist.
public static Get ( Tag tag, string user, bool create ) : PopularimeterFrame
tag Tag /// A object to search in. ///
user string /// A containing the user to search for /// in the current instance. ///
create bool /// A specifying whether or not to create /// and add a new frame to the tag if a match is not found. ///
리턴 PopularimeterFrame

ParseFields() 보호된 메소드

Populates the values in the current instance by parsing its field data in a specified version.
protected ParseFields ( ByteVector data, byte version ) : void
data ByteVector /// A object containing the /// extracted field data. ///
version byte /// A indicating the ID3v2 version the /// field data is encoded in. ///
리턴 void

PopularimeterFrame() 공개 메소드

Constructs and initializes a new instance of by reading its raw data in a specified ID3v2 version.
public PopularimeterFrame ( ByteVector data, byte version ) : System
data ByteVector /// A object starting with the raw /// representation of the new frame. ///
version byte /// A indicating the ID3v2 version the /// raw frame is encoded in. ///
리턴 System

PopularimeterFrame() 보호된 메소드

Constructs and initializes a new instance of by reading its raw data in a specified ID3v2 version.
protected PopularimeterFrame ( ByteVector data, int offset, TagLib.Id3v2.FrameHeader header, byte version ) : System
data ByteVector /// A object containing the raw /// representation of the new frame. ///
offset int /// A indicating at what offset in /// the frame actually begins. ///
header TagLib.Id3v2.FrameHeader /// A containing the header of the /// frame found at in the data. ///
version byte /// A indicating the ID3v2 version the /// raw frame is encoded in. ///
리턴 System

PopularimeterFrame() 공개 메소드

Constructs and initializes a new instance of for a specified user with a rating and play count of zero.
When a frame is created, it is not automatically added to the tag. Consider using Get for more integrated frame creation.
public PopularimeterFrame ( string user ) : System
user string
리턴 System

RenderFields() 보호된 메소드

Renders the values in the current instance into field data for a specified version.
protected RenderFields ( byte version ) : ByteVector
version byte /// A indicating the ID3v2 version the /// field data is to be encoded in. ///
리턴 ByteVector