engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IMediaOptions类 参考abstract

Interface for media options. 更多...

#include <IMediaOptions.h>

+ 类 IMediaOptions 继承关系图:

Public 成员函数

virtual FName GetDesiredPlayerName () const =0
 Get the name of the desired native player. 更多...
 
virtual bool GetMediaOption (const FName &Key, bool DefaultValue) const =0
 Get a Boolean media option. 更多...
 
virtual FString GetMediaOption (const FName &Key, const FString &DefaultValue) const =0
 Get a string media option. 更多...
 
virtual FText GetMediaOption (const FName &Key, const FText &DefaultValue) const =0
 Get a localized text media option. 更多...
 
virtual TSharedPtr< FDataContainer, ESPMode::ThreadSafe > GetMediaOption (const FName &Key, const TSharedPtr< FDataContainer, ESPMode::ThreadSafe > &DefaultValue) const
 Get a complex data type media option. 更多...
 
virtual double GetMediaOption (const FName &Key, double DefaultValue) const =0
 Get a double precision floating point media option. 更多...
 
virtual int64 GetMediaOption (const FName &Key, int64 DefaultValue) const =0
 Get a signed integer media option. 更多...
 
virtual bool HasMediaOption (const FName &Key) const =0
 Check whether the specified option is set. 更多...
 

详细描述

Interface for media options.

成员函数说明

◆ GetDesiredPlayerName()

virtual FName IMediaOptions::GetDesiredPlayerName ( ) const
pure virtual

Get the name of the desired native player.

返回
Native player name, or NAME_None to auto select.

在 UBaseMediaSource , 以及 UMediaSource 内被实现.

◆ GetMediaOption() [1/6]

virtual bool IMediaOptions::GetMediaOption ( const FName &  Key,
bool  DefaultValue 
) const
pure virtual

Get a Boolean media option.

参数
KeyThe name of the option to get.
DefaultValueThe default value to return if the option is not set.
返回
The option value.

在 UMediaSource, UPlatformMediaSource , 以及 UTimeSynchronizableMediaSource 内被实现.

◆ GetMediaOption() [2/6]

virtual FString IMediaOptions::GetMediaOption ( const FName &  Key,
const FString &  DefaultValue 
) const
pure virtual

Get a string media option.

参数
KeyThe name of the option to get.
DefaultValueThe default value to return if the option is not set.
返回
The option value.

在 UMediaSource, UPlatformMediaSource , 以及 UTimeSynchronizableMediaSource 内被实现.

◆ GetMediaOption() [3/6]

virtual FText IMediaOptions::GetMediaOption ( const FName &  Key,
const FText &  DefaultValue 
) const
pure virtual

Get a localized text media option.

参数
KeyThe name of the option to get.
DefaultValueThe default value to return if the option is not set.
返回
The option value.

在 UMediaSource , 以及 UPlatformMediaSource 内被实现.

◆ GetMediaOption() [4/6]

virtual TSharedPtr< FDataContainer, ESPMode::ThreadSafe > IMediaOptions::GetMediaOption ( const FName &  Key,
const TSharedPtr< FDataContainer, ESPMode::ThreadSafe > &  DefaultValue 
) const
inlinevirtual

Get a complex data type media option.

参数
KeyThe name of the option to get.
DefaultValueThe default value to return if the option is not set.
返回
The option value.

被 UMediaSource 重载.

◆ GetMediaOption() [5/6]

virtual double IMediaOptions::GetMediaOption ( const FName &  Key,
double  DefaultValue 
) const
pure virtual

Get a double precision floating point media option.

参数
KeyThe name of the option to get.
DefaultValueThe default value to return if the option is not set.
返回
The option value.

在 UMediaSource, UPlatformMediaSource , 以及 UTimeSynchronizableMediaSource 内被实现.

◆ GetMediaOption() [6/6]

virtual int64 IMediaOptions::GetMediaOption ( const FName &  Key,
int64  DefaultValue 
) const
pure virtual

Get a signed integer media option.

参数
KeyThe name of the option to get.
DefaultValueThe default value to return if the option is not set.
返回
The option value.

在 UMediaSource, UPlatformMediaSource , 以及 UTimeSynchronizableMediaSource 内被实现.

◆ HasMediaOption()

virtual bool IMediaOptions::HasMediaOption ( const FName &  Key) const
pure virtual

Check whether the specified option is set.

参数
KeyThe name of the option to check.
返回
true if the option is set, false otherwise.

在 UMediaSource, UPlatformMediaSource , 以及 UTimeSynchronizableMediaSource 内被实现.


该类的文档由以下文件生成: