UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IMediaMetadataItem.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "Misc/Variant.h"
7
12{
13public:
14 virtual ~IMediaMetadataItem() = default;
15
16 /*
17 Language this item is described in.
18 This should a three letter ISO 639-2 code. If no language is specified this item is intended
19 to be used when no other item exists in the user's preferred language.
20 */
21 virtual const FString& GetLanguageCode() const = 0;
22
23 /*
24 Optional mime type of the item described by Value.
25 This should be set when Value is of type EVariantTypes::ByteArray
26 For example, if this item is a binary JPEG image the mime type should be set as "image/jpeg"
27 to identify the type of the payload.
28 */
29 virtual const FString& GetMimeType() const = 0;
30
31 /*
32 The value of the metadata item.
33 */
34 virtual const FVariant& GetValue() const = 0;
35};
Definition Variant.h:114
Definition IMediaMetadataItem.h:12
virtual const FString & GetMimeType() const =0
virtual const FString & GetLanguageCode() const =0
virtual const FVariant & GetValue() const =0
virtual ~IMediaMetadataItem()=default