VideoDefinition
public class VideoDefinition : LinphoneObject
The VideoDefinition object represents a video definition, eg.
its width and its height.
-
Get the height of the video definition.
Declaration
Swift
public var height: UInt { get set }Return Value
The height of the video definition
-
Tells whether a
VideoDefinitionis undefined.Declaration
Swift
public var isUndefined: Bool { get }Return Value
A boolean value telling whether the
VideoDefinitionis undefined. -
Get the name of the video definition.
Declaration
Swift
public var name: String { get set }Return Value
The name of the video definition
-
Get the width of the video definition.
Declaration
Swift
public var width: UInt { get set }Return Value
The width of the video definition
-
Clone a video definition.
Declaration
Swift
public func clone() -> VideoDefinition?Return Value
The new clone of the video definition
-
Tells whether two
VideoDefinitionobjects are equal (the widths and the heights are the same but can be switched).Declaration
Swift
public func equals(vdef2: VideoDefinition) -> BoolParameters
vdef2VideoDefinitionobjectReturn Value
A boolean value telling whether the two
VideoDefinitionobjects are equal. -
Set the width and the height of the video definition.
Declaration
Swift
public func setDefinition(width: UInt, height: UInt)Parameters
widthThe width of the video definition
heightThe height of the video definition
-
Tells whether two
VideoDefinitionobjects are strictly equal (the widths are the same and the heights are the same).Declaration
Swift
public func strictEquals(vdef2: VideoDefinition) -> BoolParameters
vdef2VideoDefinitionobjectReturn Value
A boolean value telling whether the two
VideoDefinitionobjects are strictly equal.
VideoDefinition Class Reference