UProxyMediaSource

A media source that reditect to another media source.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MediaFrameworkUtilities

Header

/Engine/Plugins/Media/MediaFrameworkUtilities/Source/MediaFrameworkUtilities/Public/MediaAssets/ProxyMediaSource.h

Include

#include "MediaAssets/ProxyMediaSource.h"

Syntax

UCLASS(BlueprintType)
class UProxyMediaSource : public UMediaSource

Remarks

A media source that reditect to another media source.

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Const

UMediaSource...

 

GetLeafMediaSource()

Get the last element of the media source chain that is not a proxy media source.

Public function Const

UMediaSource...

 

GetMediaSource()

Get the media source proxy.

Public function Const UFunction BlueprintCallable, Category

bool

 

IsProxyValid()

Is the media proxy has a valid proxy.

Public function

void

 

SetDynamicMediaSource

(
    UMediaSource* InProxy
)

Set the dynamic media source proxy.

Public function

void

 

SetMediaSource

(
    UMediaSource* InProxy
)

Set the media source proxy.

Overridden from UMediaSource

Name Description

Public function Virtual Const

FString

 

GetUrl()

Get the media source's URL string (must be implemented in child classes).

Public function Virtual Const

bool

 

Validate()

Validate the media source settings (must be implemented in child classes).

Overridden from IMediaOptions

Name Description

Public function Virtual Const

bool

 

GetMediaOption

(
    const FName& Key,
    bool DefaultValue
)

Get a Boolean media option.

Public function Virtual Const

double

 

GetMediaOption

(
    const FName& Key,
    double DefaultValue
)

Get a double precision floating point media option.

Public function Virtual Const

int64

 

GetMediaOption

(
    const FName& Key,
    int64 DefaultValue
)

Get a signed integer media option.

Public function Virtual Const

FString

 

GetMediaOption

(
    const FName& Key,
    const FString& DefaultValue
)

Get a string media option.

Public function Virtual Const

FText

 

GetMediaOption

(
    const FName& Key,
    const FText& DefaultValue
)

Get a localized text media option.

Public function Virtual Const

bool

 

HasMediaOption

(
    const FName& Key
)

Check whether the specified option is set.