Liblinphone  5.5.0
Linphone.VideoDefinition Class Reference
Inheritance diagram for Linphone.VideoDefinition:
Linphone.LinphoneObject

Public Member Functions

Linphone.VideoDefinition Clone ()
 
bool Equals (Linphone.VideoDefinition videoDefinition2)
 
void SetDefinition (uint width, uint height)
 
bool StrictEquals (Linphone.VideoDefinition videoDefinition2)
 

Properties

uint Height [get, set]
 
bool IsUndefined [get]
 
string Name [get, set]
 
uint Width [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Linphone.LinphoneObject
static String linphone_pointer_to_string (IntPtr ptr)
 
static IntPtr linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str)
 
IntPtr StringArrayToBctbxList (IEnumerable< string > stringlist)
 
void CleanStringArrayPtrs (IntPtr l)
 

Detailed Description

This object represents a video definition, eg.

it's width, it's height and possibly it's name. It is mostly used to configure the default video size sent by your camera during a video call with Linphone.Core.PreferredVideoDefinition method.

Member Function Documentation

Linphone.VideoDefinition Linphone.VideoDefinition.Clone ( )
inline

Clone a video definition.

Returns
The new clone of the video definition
bool Linphone.VideoDefinition.Equals ( Linphone.VideoDefinition  videoDefinition2)
inline

Tells whether two Linphone.VideoDefinition objects are equal (the widths and the heights are the same but can be switched).

Parameters
videoDefinition2Linphone.VideoDefinition object
Returns
A boolean value telling whether the two Linphone.VideoDefinition objects are equal.
void Linphone.VideoDefinition.SetDefinition ( uint  width,
uint  height 
)
inline

Set the width and the height of the video definition.

Parameters
widthThe width of the video definition
heightThe height of the video definition
bool Linphone.VideoDefinition.StrictEquals ( Linphone.VideoDefinition  videoDefinition2)
inline

Tells whether two Linphone.VideoDefinition objects are strictly equal (the widths are the same and the heights are the same).

Parameters
videoDefinition2Linphone.VideoDefinition object
Returns
A boolean value telling whether the two Linphone.VideoDefinition objects are strictly equal.

Property Documentation

uint Linphone.VideoDefinition.Height
getset

Get the height of the video definition.

Returns
The height of the video definition
bool Linphone.VideoDefinition.IsUndefined
get

Tells whether a Linphone.VideoDefinition is undefined.

Returns
A boolean value telling whether the Linphone.VideoDefinition is undefined.
string Linphone.VideoDefinition.Name
getset

Get the name of the video definition.

Returns
The name of the video definition
uint Linphone.VideoDefinition.Width
getset

Get the width of the video definition.

Returns
The width of the video definition

The documentation for this class was generated from the following file: