Skip to content

Commit

Permalink
expose stringValue of Sid and Identity types
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Feb 16, 2024
1 parent 58bcfe8 commit dc360b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/LiveKit/Types/Participant+Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Foundation
public extension Participant {
@objc
class Sid: NSObject, Codable {
let stringValue: String
public let stringValue: String

init(from stringValue: String) {
self.stringValue = stringValue
Expand All @@ -43,7 +43,7 @@ public extension Participant {

@objc
class Identity: NSObject, Codable {
let stringValue: String
public let stringValue: String

init(from stringValue: String) {
self.stringValue = stringValue
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/Types/Room+Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Foundation
public extension Room {
@objc
class Sid: NSObject, Codable {
let stringValue: String
public let stringValue: String

init(from stringValue: String) {
self.stringValue = stringValue
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/Types/Track+Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Foundation
public extension Track {
@objc
class Sid: NSObject, Codable {
let stringValue: String
public let stringValue: String

init(from stringValue: String) {
self.stringValue = stringValue
Expand Down

0 comments on commit dc360b3

Please sign in to comment.