|
tv-service
0.1.0
|
#include "tv_service_proxy_base.h"Go to the source code of this file.
Data Structures | |
| struct | TvServiceScanEventData |
Typedefs | |
| typedef void * | TvServiceScan |
| typedef void(* | TvServiceScanCallback )(TvServiceScanEvent type, TvServiceScanEventData *data, gpointer user_data) |
Functions | |
| gint | tv_service_scan_create (TvServiceScan *scan, TvServiceScanType type) |
| gint | tv_service_scan_destroy (TvServiceScan scan) |
| gint | tv_service_scan_start (TvServiceScan scan) |
| gint | tv_service_scan_stop (TvServiceScan scan) |
| gint | tv_service_scan_pause (TvServiceScan scan) |
| gint | tv_service_scan_resume (TvServiceScan scan) |
| gint | tv_service_scan_register_callback (TvServiceScan scan, TvServiceScanCallback callback_func, gpointer user_data) |
This API is not official tv-service API. It can always be changed without announcement.
| typedef void* TvServiceScan |
| typedef void(* TvServiceScanCallback)(TvServiceScanEvent type, TvServiceScanEventData *data, gpointer user_data) |
| enum TvServiceScanEvent |
An enumeration. Enumeration for event type.
| enum TvServiceScanType |
| gint tv_service_scan_create | ( | TvServiceScan * | scan, |
| TvServiceScanType | type | ||
| ) |
tv_service_scan_create:
*This function is to create a player object for scan.
| scan | [in] handle of scan |
| type | [in] scan type |
| gint tv_service_scan_destroy | ( | TvServiceScan | scan | ) |
tv_service_scan_destroy:
*This function is to release all resources which are created by tv player.
| scan | [in] handle of scan |
| gint tv_service_scan_pause | ( | TvServiceScan | scan | ) |
tv_service_scan_pause:
*This function is to notify pausing scan
| scan | [in] handle of scan |
| gint tv_service_scan_register_callback | ( | TvServiceScan | scan, |
| TvServiceScanCallback | callback_func, | ||
| gpointer | user_data | ||
| ) |
tv_service_scan_register_callback:
*This function is to add callback function to handle scan event
| scan | [in] handle of scan |
| callback_func | [in] scan callback function |
| user_data | [in] user data |
| gint tv_service_scan_resume | ( | TvServiceScan | scan | ) |
tv_service_scan_resume:
*This function is to notify resuming scan
| scan | [in] handle of scan |
| gint tv_service_scan_start | ( | TvServiceScan | scan | ) |
tv_service_scan_start:
*This function is to notify starting scan
| scan | [in] handle of scan |
| gint tv_service_scan_stop | ( | TvServiceScan | scan | ) |
tv_service_scan_stop:
*This function is to notify stopping scan
| scan | [in] handle of scan |