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
smallRoomForVideoandlargeRoomForAudioOnly.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
roomTypeSets the type of the room. Valid values are
smallRoomForVideoandlargeRoomForAudioOnly. -
Initializes
RoomParams.Since
1.8.0Declaration
Swift
public init(roomType: RoomType, customItems: [String : String])Parameters
roomTypeSets the type of the room. Valid values are
smallRoomForVideoandlargeRoomForAudioOnly.customItemsCustom items for this room
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
RoomParams Class Reference