FChannelMediaInfo

Channel media information.

USTRUCT(BlueprintType)
struct FChannelMediaInfo {
	GENERATED_BODY()
public:
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|UserInfo")
	int64 uid = 0;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|UserInfo")
	FString channelName = "";
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|UserInfo")
	FString token = "";
	FChannelMediaInfo(){}
	FChannelMediaInfo(const agora::rtc::ChannelMediaInfo & AgoraData){
		channelName = UTF8_TO_TCHAR(AgoraData.channelName);
		token = UTF8_TO_TCHAR(AgoraData.token);
		uid = AgoraData.uid;
	}
	agora::rtc::ChannelMediaInfo CreateAgoraData() const {
		agora::rtc::ChannelMediaInfo AgoraData;
		SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.channelName,this->channelName)
		SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.token,this->token)
		AgoraData.uid = uid;
		return AgoraData;
	}
	void FreeAgoraData(agora::rtc::ChannelMediaInfo & AgoraData) const {
		SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.channelName)
		SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.token)
	}
};

Attributes

channelName
The channel name.
token
The token that enables the user to join the channel.
uid
The user ID.