Navigation
API > API/Plugins > API/Plugins/AvalancheMedia > API/Plugins/AvalancheMedia/Broadcast
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAvaBroadcast
References
| Module | AvalancheMedia |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheMedia/Public/Broadcast/AvaBroadcast.h |
| Include | #include "Broadcast/AvaBroadcast.h" |
Syntax
UCLASS (NotBlueprintable)
class UAvaBroadcast : public UObject
Remarks
Single Instance Class that manages all the Output Channels
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCanShowPreview | ||
| TArray< FName > | ChannelNames | ||
| TMap< FName, EAvaBroadcastChannelType > | ChannelTypes | List of channels types. | |
| FName | CurrentProfile | ||
| FOnAvaBroadcastChanged | OnBroadcastChanged | Todo: Proposal - make the events static and pass in the UAvaBroadcast that caused the event. | |
| FOnAvaBroadcastChannelsListChanged | OnChannelsListChanged | ||
| TMap< FName, FName > | PinnedChannels | Maps a channel name to a profile. Indicating which profile to use for a pinned channel. | |
| TMap< FName, FAvaBroadcastProfile > | Profiles | ||
| EAvaBroadcastChange | QueuedBroadcastChanges |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | AddChangeListener
(
FOnAvaBroadcastChanged::FDelegate&& InDelegate |
||
| int32 | AddChannelName
(
FName InChannelName |
Add the given channel name to the array of channel names. | |
| TArray< int32 > | |||
| bool | CanRenameChannel
(
FName InChannelName, |
||
| bool | CanRenameProfile
(
FName InProfileName, |
||
| bool | |||
| bool | ConditionalStartBroadcastChannel
(
const FName& InChannelName |
Starts the channel if not started. Does nothing if already started. | |
| FName | CreateProfile
(
FName InProfileName, |
Returns the actual name of the profile created. Defers in Number from InProfileName if it is an already existing Profile. | |
| FAvaBroadcastProfile & | CreateProfileInternal
(
FName InProfileName |
||
| bool | DuplicateCurrentProfile
(
FName InNewProfileName, |
||
| bool | DuplicateProfile
(
FName InNewProfile, |
||
| void | |||
| UAvaBroadcast & | Get () |
||
| UAvaBroadcast * | GetBroadcast () |
||
| FString | |||
| int32 | GetChannelIndex
(
FName InChannelName |
Returns the index of the channel in the channel name array. | |
| FName | GetChannelName
(
int32 ChannelIndex |
||
| int32 | |||
| EAvaBroadcastChannelType | GetChannelType
(
FName InChannelName |
||
| const FAvaBroadcastProfile & | |||
| FAvaBroadcastProfile & | |||
| FName | |||
| FOnAvaBroadcastChannelsListChanged & | |||
| FName | GetOrAddChannelName
(
int32 ChannelIndex |
||
| FName | GetPinnedChannelProfileName
(
FName InChannelName |
If the given channel was pinned, returns the profile it was pinned in, returns Name_None otherwise. | |
| const FAvaBroadcastProfile & | GetProfile
(
FName InProfileName |
||
| FAvaBroadcastProfile & | GetProfile
(
FName InProfileName |
||
| TArray< FName > | |||
| const TMap< FName, FAvaBroadcastProfile > & | GetProfiles () |
||
| bool | |||
| bool | |||
| bool | IsChannelPinned
(
FName InChannelName |
||
| void | |||
| void | PinChannel
(
FName InChannelName, |
Pins the given channel from the given profile to persist across all the profiles. | |
| void | QueueNotifyChange
(
EAvaBroadcastChange InChange |
Rather than Immediately calling the Broadcast Event change, it will queue all the multiple calls and dispatch it once to avoid redundancy. | |
| void | Rebuilds the channel lists that might include pinned channels from other profiles. | ||
| void | RemoveChangeListener
(
FDelegateHandle InDelegateHandle |
||
| void | RemoveChangeListener
(
const void* InUserObject |
||
| bool | RemoveProfile
(
FName InProfileName |
||
| bool | RenameChannel
(
FName InChannelName, |
||
| bool | RenameProfile
(
FName InProfileName, |
||
| void | |||
| void | SetCanShowPreview
(
bool bInCanShowPreview |
||
| void | SetChannelType
(
FName InChannelName, |
Sets the type (ex: Program or Preview) of the given channel across all profiles. | |
| bool | SetCurrentProfile
(
FName InProfileName |
||
| void | |||
| void | |||
| void | UnpinChannel
(
FName InChannelName |
Unpins the given channel (if it was pinned) so that is no longer persists across all profiles. | |
| void | |||
| void |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | PostEditUndo () |
Called after applying a transaction to the object. |