</tr>
<tr>
<td>2</td>
- <td><strong><code>http://tizen.org/appcontrol/operation/default</code></strong></td>
+ <td><code><strong>http://tizen.org/appcontrol/operation/default</strong></code></td>
<td><code>NULL</code></td>
<td><code>NULL</code></td>
<td>Fail</td>
<tr>
<td>3</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
- <td><strong><code>file</code></strong></td>
+ <td><code><strong>file</strong></code></td>
<td><code>NULL</code></td>
<td>Fail</td>
</tr>
<tr>
<td>1</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
- <td><strong><code>NULL</code></strong></td>
+ <td><code><strong>NULL</strong></code></td>
<td><code>NULL</code></td>
<td>Fail</td>
</tr>
<tr>
<td>5</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
- <td><strong><code>http</code></strong></td>
+ <td><code><strong>http</strong></code></td>
<td><code>*/*</code></td>
<td>Fail</td>
</tr>
<td>7</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
<td><code>NULL</code></td>
- <td><strong><code>image/jpg</code></strong></td>
+ <td><code><strong>image/jpg</strong></code></td>
<td>Fail</td>
</tr>
</tbody>
<td>4</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
<td><code>file:///usr/share/icons/calendar.png</code></td>
- <td><strong><code>NULL</code></strong></td>
+ <td><code><strong>NULL</strong></code></td>
<td>Fail</td>
</tr>
<tr>
<td>5</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
<td><code>NULL</code></td>
- <td><strong><code>image/jpg</code></strong></td>
+ <td><code><strong>image/jpg</strong></code></td>
<td>Fail</td>
</tr>
<tr>
<td>6</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
<td><code>NULL</code></td>
- <td><strong><code>video/*</code></strong></td>
+ <td><code><strong>video/*</strong></code></td>
<td>Fail</td>
</tr>
<tr>
<td>7</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
- <td><strong><code>http://tizen.org/favorites.png</code></strong></td>
+ <td><code><strong>http://tizen.org/favorites.png</strong></code></td>
<td><code>image/png</code></td>
<td>Fail</td>
</tr>
<td>2</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
<td><code>http://www.tizen.org/favorites.png</code></td>
- <td><strong><code>NULL</code></strong></td>
+ <td><code><strong>NULL</strong></code></td>
<td>Fail</td>
</tr>
<tr>
<tr>
<td>5</td>
<td><code>http://tizen.org/appcontrol/operation/view</code></td>
- <td><strong><code>NULL</code></strong></td>
+ <td><code><strong>NULL</strong></code></td>
<td><code>image/png</code></td>
<td>Fail</td>
</tr>
<td rowspan="2">systemd</td>
<td rowspan="2">system</td>
<td><code>tizen.system.event.boot_completed</code></td>
- <td><code>N/A</code></td>
- <td><code>N/A</code>
- </td>
+ <td>N/A</td>
+ <td>N/A</td>
<td>When the platform has completed booting.
</td>
<td>You can treat the initial value as <code>false</code> before you receive this event. If the application is already in a boot-completed state before you register an event handler, you receive the event as soon as you register the event handler.</td>
</tr>
<tr>
<td><code>tizen.system.event.system_shutdown</code></td>
- <td><code>N/A</code></td>
- <td><code>N/A</code>
- </td>
+ <td>N/A</td>
+ <td>N/A</td>
<td>
When the system power-off has been started.
</td>
<td>alarm-manager</td>
<td>time</td>
<td><code>tizen.system.event.time_changed</code></td>
- <td><code>N/A</code></td>
- <td><code>N/A</code></td>
+ <td>N/A</td>
+ <td>N/A</td>
<td>
When the system time setting has changed.
</td>
<p>To set the interface parameters:</p>
<ul>
-<li>Set the MTU configuration for the tunnel interface using the <code>vpnsvc_set_mtu()</code> function, then update the value using the <code>vpnsvc_update_settings()</code> function:
+<li>Set the MTU configuration for the tunnel interface using the <code>vpnsvc_set_mtu()</code> function, and update the value using the <code>vpnsvc_update_settings()</code> function:
<pre class="prettyprint">
int ret;
<h2 id="get_apps" name="get_apps">Getting Application Runtime Information</h2>
<p>You can get runtime information on running applications.</p>
-<p>For example, to get the memory usage information for each application:</p>
+<p>To get information on, for example, the memory usage for each application:</p>
<pre class="prettyprint">
void
unsigned int usage;
ret = runtime_info_get_all_apps_memory_usage(&mem_usage_handle);
- if (ret != RUNTIME_INFO_ERROR_NONE) {
+ if (ret != RUNTIME_INFO_ERROR_NONE)
/* Error handling */
- }
ret = runtime_info_app_usage_get_count(mem_usage_handle, &count);
- if (ret != RUNTIME_INFO_ERROR_NONE) {
+ if (ret != RUNTIME_INFO_ERROR_NONE)
/* Error handling */
- }
for (i = 0; i < count; i++) {
ret = runtime_info_app_usage_get_appid(mem_usage_handle, i, &appid);
- if (ret != RUNTIME_INFO_ERROR_NONE) {
+ if (ret != RUNTIME_INFO_ERROR_NONE)
/* Error handling */
- }
ret = runtime_info_app_usage_get_usage(mem_usage_handle, i, &usage);
- if (ret != RUNTIME_INFO_ERROR_NONE) {
+ if (ret != RUNTIME_INFO_ERROR_NONE)
/* Error handling */
- }
dlog_print(DLOG_INFO, LOG_TAG, "appid = %s, usage = %u KB\n", appid, usage);
free(appid);
}
ret = runtime_info_app_usage_destroy(mem_usage_handle);
- if (ret != RUNTIME_INFO_ERROR_NONE) {
+ if (ret != RUNTIME_INFO_ERROR_NONE)
/* Error handling */
- }
}
</pre>
<tr>
<td><code>http://tizen.org/feature/network.bluetooth.audio.call</code></td>
<td><code>bool</code></td>
- <td>The platform returns <code>true</code> for this key, if the device supports Bluetooth Handsfree Profile (HFP).</td>
+ <td>The platform returns <code>true</code> for this key, if the device supports Bluetooth Hands-free Profile (HFP).</td>
</tr>
<tr>
<td><code>http://tizen.org/feature/network.bluetooth.audio.controller</code></td>
</pre>
</li>
<li><code>SDL_APP_LOWBATTERY</code>
-<p>This event is invoked when the application is low on battery. Use it to reduce power consumption, if possible. In Tizen, this event is called in the <code>_tizen_app_low_battery()</code> function.</p>
+<p>This event is invoked when the device is low on battery. Use it to reduce power consumption, if possible. In Tizen, this event is called in the <code>_tizen_app_low_battery()</code> function.</p>
<p>Get the low battery status from the given event info by calling the <code>app_event_get_low_battery_status()</code> function. The <code>app_event_low_battery_status_e</code> (in <a href="../../../../org.tizen.native.mobile.apireference/group__CAPI__APP__COMMON__MODULE.html#gacd053e5be8bdd4a4e3cc5bb20916af00">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/group__CAPI__APP__COMMON__MODULE.html#gacd053e5be8bdd4a4e3cc5bb20916af00">wearable</a> applications) is the enumeration for the battery status: <code>APP_EVENT_LOW_BATTERY_POWER_OFF</code> means that the battery charge is under 1% and <code>APP_EVENT_LOW_BATTERY_CRITICAL_LOW</code> under 5%.</p>
<pre class="prettyprint">
<pre class="prettyprint">
sensor_listener_set_attribute_int(listener, SENSOR_ATTRIBUTE_PAUSE_POLICY, SENSOR_PAUSE_NONE);
</pre>
-<p>The above example makes the listener listen for the sensor data regardless of the display state and the power-save mode. However, it does not prevent the device from going to sleep mode. To listen for the sensor data, the device must be awake anyway.</p>
+<p>The above example makes the listener listen for the sensor data regardless of the display state and the power-save mode. However, it does not prevent the device from going to the sleep mode. To listen for the sensor data, the device must be awake anyway.</p>
</li>
</ul>
</li>
<td><code>int*</code></td>
<td>Yes</td>
<td>Unique ID for managing sync jobs.
- <p>The ID is generated when a sync job is added. It is required to remove the sync job. The number of ID that can be generated is restricted to a hundred per a package.</p></td>
+ <p>The ID is generated when a sync job is added. It is required to remove the sync job. The number of ID that can be generated is restricted to a hundred per package.</p></td>
</tr>
<tr>
<td>Sync job user data</td>
<li><a href="privilege_n.htm">Privilege Information</a>
-<p>You can retrieve information about existing permissions granted by a privilege The information can be delivered to the user as a notification.</p></li>
+<p>You can retrieve information about existing permissions granted by a privilege. The information can be delivered to the user as a notification.</p></li>
<li><a href="requesting_permissions_n.htm">Privacy-related Permissions</a>
-<p>You can check current permissions for privacy-related privileges and request user permission to use specifed privileges.</p></li>
+<p>You can check current permissions for privacy-related privileges and request user permission to use specific privileges.</p></li>
<li><a href="yaca_n.htm">Cryptographic Operations</a>
<td>FLOAT</td>
<td>The scale of the radius of the top circle of a conical frustrum.</td>
<td>1.0</td>
- <td>>= 0.0</td>
+ <td>>= 0.0</td>
</tr>
<tr>
<td><code>PrimitiveVisual::Property::SCALE_BOTTOM_RADIUS</code></td>
<td>FLOAT</td>
<td>The scale of the radius of the bottom circle of a conical frustrum.</td>
<td>1.5</td>
- <td>>= 0.0</td>
+ <td>>= 0.0</td>
</tr>
<tr>
<td><code>PrimitiveVisual::Property::SCALE_HEIGHT</code></td>
<td>FLOAT</td>
<td>The scale of the height of a conic.</td>
<td>3.0</td>
- <td>> 0.0</td>
+ <td>> 0.0</td>
</tr>
<tr>
<td><code>PrimitiveVisual::Property::SCALE_RADIUS</code></td>
<td>FLOAT</td>
<td>The scale of the radius of a cylinder.</td>
<td>1.0</td>
- <td>> 0.0</td>
+ <td>> 0.0</td>
</tr>
<tr>
<td><code>PrimitiveVisual::Property::SCALE_DIMENSIONS</code></td>
<td>VECTOR3</td>
<td>The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.</td>
<td><code>Vector3::ONE</code></td>
- <td>> 0.0 for each</td>
+ <td>> 0.0 for each</td>
</tr>
<tr>
<td><code>PrimitiveVisual::Property::BEVEL_PERCENTAGE</code></td>
</tr>
<tr>
<td><code>scroll,drag,start</code></td>
- <td>Dragging the content around starts.</td>
+ <td>Dragging the content starts.</td>
<td><code>NULL</code></td>
</tr>
<tr>
<td><code>scroll,drag,stop</code></td>
- <td>Dragging the content around stops.</td>
+ <td>Dragging the content stops.</td>
<td><code>NULL</code></td>
</tr>
<tr>
<ol><li>To create a new window and give it the <code>NOTIFICATION</code> type, call the <code>elm_win_add()</code> function with the third parameter set to <code>ELM_WIN_NOTIFICATION</code>:
<pre class="prettyprint">
#include <Elementary.h>
-#include <efl_util.h>
#include <dlog.h>
static Evas_Object*
<p>If the window is not of the notification type, the function returns the <code>EFL_UTIL_ERROR_NOT_SUPPORTED_WINDOW_TYPE</code> error.</p>
<pre class="prettyprint">
#include <Elementary.h>
-#include <efl_util.h>
#include <dlog.h>
void