<th class="note">Note</th>
</tr>
<tr>
- <td class="note">This feature is supported in wearable applications only.</td>
+ <td class="note">This feature is supported in wearable applications only.</td>
</tr>
</tbody>
</table>
</p>
</td>
</tr>
+ <tr>
+ <td><span style="font-family: Courier New,Courier,monospace">setSelection(start_index, end_index)</span></td>
+ <td>Request to select text.
+ <p><span style="font-family: Courier New,Courier,monospace">start_index</span> parameter: The start position in text.<br/>
+ <span style="font-family: Courier New,Courier,monospace">end_index</span> parameter: The end position in text.<br/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td><span style="font-family: Courier New,Courier,monospace">getSelection()</span></td>
+ <td>Request to get selected text.
+ </td>
+ </tr>
+ <tr>
+ <td><span style="font-family: Courier New,Courier,monospace">getSurroundingText(maxlen_before, maxlen_after)</span></td>
+ <td>Request to select text.
+ <p><span style="font-family: Courier New,Courier,monospace">maxlen_before</span> parameter: The max length of before.<br/>
+ <span style="font-family: Courier New,Courier,monospace">maxlen_after</span> parameter: The max length of after.<br/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td><span style="font-family: Courier New,Courier,monospace">deleteSurroundingText(offset, len)</span></td>
+ <td>Request to delete surrounding text.
+ <p><span style="font-family: Courier New,Courier,monospace">offset</span> parameter: The offset for cursor position.<br/>
+ <span style="font-family: Courier New,Courier,monospace">len</span> parameter: The length for delete text.<br/>
+ </p>
+ </td>
+ </tr>
</tbody>
</table>
<p>This method returns <span style="font-family: Courier New,Courier,monospace">true</span> if the event is processed; otherwise it is forwarded to the client application.</p>
</td>
</tr>
+ <tr>
+ <td><span style="font-family: Courier New,Courier,monospace">onUpdateSurroundingText(cursor, text)</span></td>
+ <td>Handler on update surrounding text signal.
+
+ <p>
+ <span style="font-family: Courier New,Courier,monospace">cursor</span> parameter: The cursor position.<br/>
+ <span style="font-family: Courier New,Courier,monospace">text</span> parameter: The surrounding text near the cursor.<br/>
+ </td>
+ </tr>
+ <tr>
+ <td><span style="font-family: Courier New,Courier,monospace">onUpdateSelection(text)</span></td>
+ <td>Handler on update selection signal.
+
+ <p>
+ <span style="font-family: Courier New,Courier,monospace">text</span> parameter: The currently selected text.<br/>
+ </p>
+ </td>
+ </tr>
</tbody>
</table>
<table class="note">
</script>
</body>
-</html>
\ No newline at end of file
+</html>