DRM UI related Functions
[Multimedia]


Detailed Description

APIs for DRM. These APIs are for the device only. They are not used with simulator in SDK.


Functions

alp_status_t alp_drm_activate_drm_content_block (const char *content_id, const char *issuer_address, GtkWindow *parent)
alp_status_t alp_drm_activate_drm_content_block_with_mime_check (const char *content_id, const char *issuer_address, GtkWindow *parent, const char *mime)
GtkWidget * alp_drm_detail_dialog_run (const gchar *filename, gboolean isdialog)


Function Documentation

alp_status_t alp_drm_activate_drm_content_block const char *  content_id,
const char *  issuer_address,
GtkWindow *  parent
 

Launches the browser to get the right issuer

Parameters:
[in] issuer_address The URL of the right issuer is returned from alp_drm_check_rights_info
[in] parent The parent window for the status waiting dialog
Returns:
ALP_DRM_STATUS_OK - success
ALP_DRM_STATUS_CANCELED_BY_USER - the user has canceled the waiting

alp_status_t alp_drm_activate_drm_content_block_with_mime_check const char *  content_id,
const char *  issuer_address,
GtkWindow *  parent,
const char *  mime
 

check about the mime is supported or not , and aunches the browser to get the right issuer

Parameters:
[in] issuer_address The URL of the right issuer is returned from alp_drm_check_rights_info
[in] parent The parent window for the status waiting dialog
[in] mime The oringin mime of the DRM file
Returns:
ALP_DRM_STATUS_OK - success
ALP_DRM_STATUS_CANCELED_BY_USER - the user has canceled the waiting

GtkWidget* alp_drm_detail_dialog_run const gchar *  filename,
gboolean  isdialog
 

Returns the handle of a dialog that shows the DRM infomation of a drm file. This can be a scrollwindow if isdialog=false is set. In this case , the scrollwindow can be embedded into other dialogs.

Parameters:
[in] filename The full path of the file that shows the DRM information
[in] isdialog Controls the return widget. This can be a dialog or a scrollwindow.
Returns:
GtkWidget A gtk widget, a dialog, or a scrollwindow.


Generated on Wed Jul 30 07:06:42 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.