Labs/Ubiquity/Ubiquity Source Tip Author Tutorial: Difference between revisions

Line 418: Line 418:
</pre>
</pre>


== Insert Email: Commands with Specific Argument Types ==
== Insert Email: the Contact noun type ==


Let's take a look at one of these noun-types: <code>noun_type_contact</code>. This lets Ubiquity know to expect a person (either by name or email address). By using the noun-type, Ubiquity will also autocomplete to known people while the user is entering the command. This is what the built-in Ubiquity command "email" uses.
Let's take a look at one of these noun-types: <code>noun_type_contact</code>. This lets Ubiquity know to expect a person (either by name or email address). By using the noun-type, Ubiquity will also autocomplete to known people while the user is entering the command. This is what the built-in Ubiquity command "email" uses.
1,007

edits