Functions
API available for accessing webcam

Functions

EAPI const Eina_Listemotion_webcams_get (void)
 Get a list of active and available webcam. More...
 
EAPI const char * emotion_webcam_name_get (const Emotion_Webcam *ew)
 Get the human understandable name of a Webcam. More...
 
EAPI const char * emotion_webcam_device_get (const Emotion_Webcam *ew)
 Get the uri of a Webcam that will be understood by emotion. More...
 

Detailed Description

Function Documentation

◆ emotion_webcams_get()

EAPI const Eina_List* emotion_webcams_get ( void  )

Get a list of active and available webcam.

Returns
the list of available webcam at the time of the call.

It will return the current live list of webcam. It is updated before triggering EMOTION_WEBCAM_UPDATE and should never be modified.

Examples
emotion_test_main.c.

References EINA_SAFETY_ON_NULL_RETURN_VAL.

◆ emotion_webcam_name_get()

EAPI const char* emotion_webcam_name_get ( const Emotion_Webcam ew)

Get the human understandable name of a Webcam.

Parameters
ewThe webcam to get the name from.
Returns
the actual human readable name.
Examples
emotion_test_main.c.

References EINA_SAFETY_ON_NULL_RETURN_VAL.

◆ emotion_webcam_device_get()

EAPI const char* emotion_webcam_device_get ( const Emotion_Webcam ew)

Get the uri of a Webcam that will be understood by emotion.

Parameters
ewThe webcam to get the uri from.
Returns
the actual uri that emotion will later understood.
Examples
emotion_test_main.c.

References EINA_SAFETY_ON_NULL_RETURN_VAL.