RoomParams
@objcMembers
@objc(SBCRoomParams)
public class RoomParams : NSObject, Encodable
A class that provides information for creating a new room
Since
1.6.0-
Sets the type of the room. Valid values are
smallRoomForVideo
andlargeRoomForAudioOnly
.Since
1.6.0Declaration
Swift
public var roomType: RoomType
-
Sets custom items for the room
Since
1.8.0Declaration
Swift
public var customItems: [String : String]?
-
Initializes
RoomParams
.Since
1.6.0Declaration
Swift
public init(roomType: RoomType)
Parameters
roomType
Sets the type of the room. Valid values are
smallRoomForVideo
andlargeRoomForAudioOnly
. -
Initializes
RoomParams
.Since
1.8.0Declaration
Swift
public init(roomType: RoomType, customItems: [String : String])
Parameters
roomType
Sets the type of the room. Valid values are
smallRoomForVideo
andlargeRoomForAudioOnly
.customItems
Custom items for this room
-
Declaration
Swift
public func encode(to encoder: Encoder) throws