| 
    Tizen Native API
    5.0
    
   
   | 
  
  
  
 
Minicontrol Provider APIs.
#include <minicontrol-provider.h>
It provides functions for creating EFL socket window.
Functions | |
| Evas_Object * | minicontrol_create_window (const char *name, minicontrol_target_viewer_e target_viewer, minicontrol_event_cb callback) | 
| Creates a window for minicontrol.   | |
| int | minicontrol_send_event (Evas_Object *minicontrol, minicontrol_provider_event_e event, bundle *event_arg) | 
| Sends a event to the viewer.   | |
Typedefs | |
| typedef void(* | minicontrol_event_cb )(minicontrol_viewer_event_e event_type, bundle *event_arg) | 
| Called when a event comes from viewer.   | |
| typedef void(* minicontrol_event_cb)(minicontrol_viewer_event_e event_type, bundle *event_arg) | 
Called when a event comes from viewer.
| [in] | event_type | The type of fired event | 
| [in] | event_arg | Argument of the event The event_arg can be used only in the callback. To use outside, make a copy. | 
| Evas_Object* minicontrol_create_window | ( | const char * | name, | 
| minicontrol_target_viewer_e | target_viewer, | ||
| minicontrol_event_cb | callback | ||
| ) | 
Creates a window for minicontrol.
| [in] | name | Name of minicontrol socket window | 
| [in] | target_viewer | Target viewer for minicontrol. You can select multiple viewers by using bitwise OR operator | 
| [in] | callback | A callback function for events originated by minicontrol viewer | 
| MINICONTROL_ERROR_NONE | Success | 
| MINICONTROL_ERROR_INVALID_PARAMETER | Invalid argument | 
| MINICONTROL_ERROR_ELM_FAILURE | Some error occurred when creating a minicontrol window | 
| MINICONTROL_ERROR_OUT_OF_MEMORY | Out of memory | 
| MINICONTROL_ERROR_NOT_SUPPORTED | Not supported | 
| int minicontrol_send_event | ( | Evas_Object * | minicontrol, | 
| minicontrol_provider_event_e | event, | ||
| bundle * | event_arg | ||
| ) | 
Sends a event to the viewer.
| [in] | minicontrol | Minicontrol window | 
| [in] | event | Type of the event | 
| [in] | event_arg | Bundle argument of the event | 
| MINICONTROL_ERROR_NONE | Success | 
| MINICONTROL_ERROR_INVALID_PARAMETER | Invalid argument | 
| MINICONTROL_ERROR_NOT_SUPPORTED | Not supported |