Functions

Functions

EMOTION_API void emotion_object_vis_set (Evas_Object *obj, Emotion_Vis visualization)
 Set the visualization to be used with this object.
 
EMOTION_API Emotion_Vis emotion_object_vis_get (const Evas_Object *obj)
 Get the type of visualization in use by this emotion object.
 
EMOTION_API Eina_Bool emotion_object_vis_supported (const Evas_Object *obj, Emotion_Vis visualization)
 Query whether a type of visualization is supported by this object.
 

Detailed Description

Function Documentation

◆ emotion_object_vis_set()

EMOTION_API void emotion_object_vis_set ( Evas_Object *  obj,
Emotion_Vis  visualization 
)

Set the visualization to be used with this object.

Parameters
objThe object where the visualization will be set on.
visualizationThe type of visualization to be used.

The visualization specified will be played instead of a video. This is commonly used to display a visualization for audio only files (musics).

The available visualizations are Emotion_Vis.

See also
Emotion_Vis
emotion_object_vis_get()
emotion_object_vis_supported()
Examples
emotion_test_main.c.

◆ emotion_object_vis_get()

EMOTION_API Emotion_Vis emotion_object_vis_get ( const Evas_Object *  obj)

Get the type of visualization in use by this emotion object.

Parameters
objThe emotion object which the visualization is being retrieved from.
Returns
The type of visualization in use by this object.

The type of visualization can be set by emotion_object_vis_set().

See also
Emotion_Vis
emotion_object_vis_set()
emotion_object_vis_supported()

References EMOTION_VIS_NONE.

◆ emotion_object_vis_supported()

EMOTION_API Eina_Bool emotion_object_vis_supported ( const Evas_Object *  obj,
Emotion_Vis  visualization 
)

Query whether a type of visualization is supported by this object.

Parameters
objThe object which the query is being ran on.
visualizationThe type of visualization that is being queried.
Returns
EINA_TRUE if the visualization is supported, EINA_FALSE otherwise.

This can be used to check if a visualization is supported. e.g.: one wants to display a list of available visualizations for a specific object.

See also
Emotion_Vis
emotion_object_vis_set()
emotion_object_vis_get()
Examples
emotion_test_main.c.

References EINA_FALSE.