Confirmed users
398
edits
Line 31: | Line 31: | ||
}; | }; | ||
interface | interface ContactAppField : ContactField | ||
{ | { | ||
attribute DOMString handler; // the application/or activity name that can handle voice/video call and messaging. | attribute DOMString handler; // the application/or activity name that can handle voice/video call and messaging. | ||
Line 37: | Line 37: | ||
}; | }; | ||
Add an interface | Add an interface '''ContactAppField''' and add '''otherAddresses''' to '''ContactProperties''' | ||
* | * '''handler''' and | ||
* | * '''status''' fields | ||
With them, the contact app can invoke the correct APP to initiate a voice/video call or concall. | With them, the contact app can invoke the correct APP to initiate a voice/video call or concall. | ||
For most IM now, | For most IM now, '''status''' field can be used to show presence and status of a user. The communication Apps update this variable with URIs of icons to indicate if a user is online or offline or other cases. For handling changing of '''status''', the App should listen on ContactsManager::oncontactchange event. | ||
== Add a Friend == | == Add a Friend == |