API available for accessing webcam

Functions

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

Function Documentation

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.
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.
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.