20 lines
585 B
Swift
20 lines
585 B
Swift
|
|
//
|
||
|
|
// RoomActions.swift
|
||
|
|
// TUIRoomKit
|
||
|
|
//
|
||
|
|
// Created by CY zhao on 2024/7/2.
|
||
|
|
//
|
||
|
|
|
||
|
|
import Foundation
|
||
|
|
import RTCRoomEngine
|
||
|
|
|
||
|
|
enum RoomActions {
|
||
|
|
static let key = "action.room"
|
||
|
|
|
||
|
|
static let joinConference = ActionTemplate(id: key.appending(".joinConference"), payloadType: (String).self)
|
||
|
|
|
||
|
|
static let updateRoomState = ActionTemplate(id: key.appending(".updateRoomState"), payloadType: RoomInfo.self)
|
||
|
|
static let clearRoomState = ActionTemplate(id: key.appending(".clearRoomState"))
|
||
|
|
static let onJoinSuccess = ActionTemplate(id: key.appending(".onJoinSuccess"))
|
||
|
|
}
|