Privilege Information

Tizen provides privilege information for user notification.

With the Privilege Info API, you can retrieve the following privilege information:

  • Privilege name: Privilege description in a simple present participle form.
  • Privilege description: Detailed information on permissions, including accessible resources and functionality, that the application can get with this privilege. It also contains information related to billing or device performance, such as cost or increased battery usage.
  • Privacy name: Privacy name represents a group of privileges that are related to a certain privacy feature.

Since Tizen 3.0, some privileges are categorized as privacy-related. The user can switch those privileges on and off as needed by changing certain privileges’ status to allow or deny them at runtime. This means that the application calling a privileged API can be prevented from using it even if the required privilege is declared in its manifest file. Specific APIs can be used to check the privacy-related privilege’s current status and get the display name of the privacy that includes the privilege. For example, you can use the APIs to check the privilege’s current status before entering a function that requires the privilege, and if the status is off, display a guide message to the user to ask them to go to the device settings and switch the required privacy on.


Since Tizen 4.0, the status of privacy-related privileges can be resolved at runtime using the Privacy Privilege Manager API (in mobile and wearable applications).


To use the functions and data types of the Privilege Info API (in mobile and wearable applications), include the <privilege_information.h> header file in your application:

#include <privilege_information.h>

Getting Privilege Information

To get various privilege information:

  • Get the privilege display name using the privilege_info_get_display_name() function:

    char* display_name = NULL;
    int ret = privilege_info_get_display_name("2.2",
  • Get the privilege display name by package type using the privilege_info_get_display_name_by_pkgtype() function:

    char* display_name = NULL;
    int ret = privilege_info_get_display_name_by_pkgtype("PRVINFO_PACKAGE_TYPE_WEB",
  • Get the privilege description using the privilege_info_get_description() function:

    char* description = NULL;
    int ret = privilege_info_get_description("2.2",
  • Get the privilege description by package type using the privilege_info_get_description_by_pkgtype() function:

    char* description = NULL;
    int ret = privilege_info_get_description_by_pkgtype("PRVINFO_PACKAGE_TYPE_WEB",
  • Get the privacy display name using the privilege_info_get_privacy_display_name() function:

    char* privacy_display_name = NULL;
    int ret = privilege_info_get_privacy_display_name("",
  • Get the privilege information in a list form using the privilege_info_get_privilege_info_list() function:

    GList* privilege_name_list = NULL;
    GList* privilege_info_list = NULL;
    privilege_consumer_return_code_e return_result;
    privilege_name_list = g_list_append(privilege_name_list, "");
    privilege_name_list = g_list_append(privilege_name_list, "");
    int ret = privilege_info_get_privilege_info_list("ko_KR.UTF8",

These functions return a privilege_info_error_e enum value (in mobile and wearable applications), which indicates the value of retrieval result. These functions also store the requested privilege display name or description, and privacy display in their last parameter.

  • Dependencies
    • Tizen 2.3 and Higher for Mobile
    • Tizen 2.3.1 and Higher for Wearable