![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IMediaOptions.h>
Inheritance diagram for IMediaOptions:Classes | |
| class | FDataContainer |
Public Member Functions | |
| virtual FName | GetDesiredPlayerName () const =0 |
| virtual bool | GetMediaOption (const FName &Key, bool DefaultValue) const =0 |
| virtual double | GetMediaOption (const FName &Key, double DefaultValue) const =0 |
| virtual int64 | GetMediaOption (const FName &Key, int64 DefaultValue) const =0 |
| virtual FString | GetMediaOption (const FName &Key, const FString &DefaultValue) const =0 |
| virtual FText | GetMediaOption (const FName &Key, const FText &DefaultValue) const =0 |
| virtual TSharedPtr< FDataContainer, ESPMode::ThreadSafe > | GetMediaOption (const FName &Key, const TSharedPtr< FDataContainer, ESPMode::ThreadSafe > &DefaultValue) const |
| virtual bool | HasMediaOption (const FName &Key) const =0 |
| virtual const UObject * | ToUObject () const =0 |
Interface for media options.
Get the name of the desired native player.
Implemented in UBaseMediaSource, UMediaSource, and UPlatformMediaSource.
|
pure virtual |
Get a Boolean media option.
| Key | The name of the option to get. |
| DefaultValue | The default value to return if the option is not set. |
Implemented in UFileMediaSource, UMediaSource, UPlatformMediaSource, and UTimeSynchronizableMediaSource.
|
pure virtual |
Get a string media option.
| Key | The name of the option to get. |
| DefaultValue | The default value to return if the option is not set. |
Implemented in UMediaSource, UPlatformMediaSource, and UTimeSynchronizableMediaSource.
|
pure virtual |
Get a localized text media option.
| Key | The name of the option to get. |
| DefaultValue | The default value to return if the option is not set. |
Implemented in UMediaSource, and UPlatformMediaSource.
|
inlinevirtual |
Get a complex data type media option.
| Key | The name of the option to get. |
| DefaultValue | The default value to return if the option is not set. |
Reimplemented in UMediaSource.
|
pure virtual |
Get a double precision floating point media option.
| Key | The name of the option to get. |
| DefaultValue | The default value to return if the option is not set. |
Implemented in UMediaSource, UPlatformMediaSource, and UTimeSynchronizableMediaSource.
|
pure virtual |
Get a signed integer media option.
| Key | The name of the option to get. |
| DefaultValue | The default value to return if the option is not set. |
Implemented in UMediaSource, UPlatformMediaSource, and UTimeSynchronizableMediaSource.
Check whether the specified option is set.
| Key | The name of the option to check. |
Implemented in UFileMediaSource, UMediaSource, UPlatformMediaSource, and UTimeSynchronizableMediaSource.
Implemented in UMediaSource.