LiveKit Swift Client SDK Documentation

Class Dimensions

@objc
public class Dimensions: NSObject  
%601 Dimensions Dimensions NSObject NSObject Dimensions->NSObject

Conforms To

NSObject

Initializers

init(width:​height:​)

@objc
    public init(width: Int32, height: Int32)  

init(from:​)

public init(from dimensions: CMVideoDimensions)  

Properties

qvga169

static let qvga169 = h180_169

vga169

static let vga169 = h360_169

qhd169

static let qhd169 = h540_169

hd169

static let hd169 = h720_169

fhd169

static let fhd169 = h1080_169

qvga43

static let qvga43 = h180_43

vga43

static let vga43 = h360_43

qhd43

static let qhd43 = h540_43

hd43

static let hd43 = h720_43

fhd43

static let fhd43 = h1080_43

width

@objc
    public let width: Int32

height

@objc
    public let height: Int32

hash

public override var hash: Int  

aspect​Ratio169

public static let aspectRatio169 = 16.0 / 9.0

aspect​Ratio43

public static let aspectRatio43 = 4.0 / 3.0

zero

public static let zero  

h90_169

static let h90_169  

h180_169

static let h180_169  

h216_169

static let h216_169  

h360_169

static let h360_169  

h540_169

static let h540_169  

h720_169

static let h720_169  

h1080_169

static let h1080_169  

h1440_169

static let h1440_169  

h2160_169

static let h2160_169  

h120_43

static let h120_43  

h180_43

static let h180_43  

h240_43

static let h240_43  

h360_43

static let h360_43  

h480_43

static let h480_43  

h540_43

static let h540_43  

h720_43

static let h720_43  

h1080_43

static let h1080_43  

h1440_43

static let h1440_43  

Methods

is​Equal(_:​)

public override func isEqual(_ object: Any?) -> Bool