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
5
#include "
Containers/UnrealString.h
"
6
#include "
Misc/Variant.h
"
7
11
class
IMediaMetadataItem
12
{
13
public
:
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
};
UnrealString.h
Variant.h
FVariant
Definition
Variant.h:114
IMediaMetadataItem
Definition
IMediaMetadataItem.h:12
IMediaMetadataItem::GetMimeType
virtual const FString & GetMimeType() const =0
IMediaMetadataItem::GetLanguageCode
virtual const FString & GetLanguageCode() const =0
IMediaMetadataItem::GetValue
virtual const FVariant & GetValue() const =0
IMediaMetadataItem::~IMediaMetadataItem
virtual ~IMediaMetadataItem()=default
Engine
Source
Runtime
Media
Public
IMediaMetadataItem.h
Generated by
1.9.8