A typical Yahoo Messenger contact screen will show the following:
The term presence with the Yahoo Messenger IM SDK refers to a state, and optionally a String-based message, that is broadcast to contacts and tells them your current status. The Yahoo Messenger IM SDK pre-define four states, represented internally by integer values.
|-1||User is offline|
|0||User is online|
|2||User is busy|
|999||User is idle|
Graphically, the presence states are displayed using circular icons. See the Requirements chapter for more information on acceptable icons for presence states.
The following figure shows the contact screen for the iPhone Yahoo Messenger client.