- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QMediaMetaData.Key>
,Constable
- Enclosing class:
QMediaMetaData
Java wrapper for Qt enum QMediaMetaData::Key
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresenting QMediaMetaData::AlbumArtistRepresenting QMediaMetaData::AlbumTitleRepresenting QMediaMetaData::AudioBitRateRepresenting QMediaMetaData::AudioCodecRepresenting QMediaMetaData::AuthorRepresenting QMediaMetaData::CommentRepresenting QMediaMetaData::ComposerRepresenting QMediaMetaData::ContributingArtistRepresenting QMediaMetaData::CopyrightRepresenting QMediaMetaData::CoverArtImageRepresenting QMediaMetaData::DateRepresenting QMediaMetaData::DescriptionRepresenting QMediaMetaData::DurationRepresenting QMediaMetaData::FileFormatRepresenting QMediaMetaData::GenreRepresenting QMediaMetaData::LanguageRepresenting QMediaMetaData::LeadPerformerRepresenting QMediaMetaData::MediaTypeRepresenting QMediaMetaData::OrientationRepresenting QMediaMetaData::PublisherRepresenting QMediaMetaData::ResolutionRepresenting QMediaMetaData::ThumbnailImageRepresenting QMediaMetaData::TitleRepresenting QMediaMetaData::TrackNumberRepresenting QMediaMetaData::UrlRepresenting QMediaMetaData::VideoBitRateRepresenting QMediaMetaData::VideoCodecRepresenting QMediaMetaData::VideoFrameRate -
Method Summary
Modifier and TypeMethodDescriptionstatic QMediaMetaData.Key
resolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QMediaMetaData.Key
Returns the enum constant of this type with the specified name.static QMediaMetaData.Key[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
Title
Representing QMediaMetaData::Title
-
Author
Representing QMediaMetaData::Author
-
Comment
Representing QMediaMetaData::Comment
-
Description
Representing QMediaMetaData::Description
-
Genre
Representing QMediaMetaData::Genre
-
Date
Representing QMediaMetaData::Date
-
Language
Representing QMediaMetaData::Language
-
Publisher
Representing QMediaMetaData::Publisher
-
Copyright
Representing QMediaMetaData::Copyright
-
Url
Representing QMediaMetaData::Url
-
Duration
Representing QMediaMetaData::Duration
-
MediaType
Representing QMediaMetaData::MediaType
-
FileFormat
Representing QMediaMetaData::FileFormat
-
AudioBitRate
Representing QMediaMetaData::AudioBitRate
-
AudioCodec
Representing QMediaMetaData::AudioCodec
-
VideoBitRate
Representing QMediaMetaData::VideoBitRate
-
VideoCodec
Representing QMediaMetaData::VideoCodec
-
VideoFrameRate
Representing QMediaMetaData::VideoFrameRate
-
AlbumTitle
Representing QMediaMetaData::AlbumTitle
-
AlbumArtist
Representing QMediaMetaData::AlbumArtist
-
ContributingArtist
Representing QMediaMetaData::ContributingArtist
-
TrackNumber
Representing QMediaMetaData::TrackNumber
-
Composer
Representing QMediaMetaData::Composer
-
LeadPerformer
Representing QMediaMetaData::LeadPerformer
-
ThumbnailImage
Representing QMediaMetaData::ThumbnailImage
-
CoverArtImage
Representing QMediaMetaData::CoverArtImage
-
Orientation
Representing QMediaMetaData::Orientation
-
Resolution
Representing QMediaMetaData::Resolution
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
-