Hi All,

 A question about privilege property in Tizen2.0 device API, please.

 I find only a few of APIs have "Privilege" property in "tizen.org/dev-guide", 
and the left APIs haven't this property. So, Is this meaning:

  I need put the privilege into config.xml when I using a API with a 
"Privilege" property in my webapp, or I will get a runtime error.
  In other words, if I use a API without the "Privilege" property, there isn't 
any limitation, I can use the API into my app directly.


 For example:
1.      tizen.alarm.add(...);  The add method has a privilege property.  
"Privilege: http://tizen.org/privilege/alarm";
2.      tizen.alarm.get(...);  The get method hasn't privilege property.

   If I use the add method into my webapp, I need add privilege above into the 
config.xml file. But If I only use the get method, I don't need to do this.

PS: I try this in emulator, it works like this.


Thanks,
Best Regards!

_______________________________________________
Application-dev mailing list
Application-dev@lists.tizen.org
https://lists.tizen.org/listinfo/application-dev

Reply via email to