SetStatus Method
      
 

Description

Changes your status in the chat room.


Return Type

None  


Syntax

object.SetStatus NewStatus, Description



The SetStatus Method syntax has these parts:

Part Description
object An expression evaluating to an object of type XMPPChatRoom.
NewStatus Required. A StatusEnum enumeration, as described in settings.
Description A String value. New status description.

Settings

The settings for NewStatus are:

Constant Value Description
 Offline 0 Offline.
 Online 1 Online.
 Away 2 Away.
 Chat 3 Free for chat.
 DoNotDisturb 4 Do not disturb.
 ExtendedAway 5 Extended away.
 Invisible 6 Invisible.

Remarks

Use this method to change your status for the chat room. This can be different status than status visible to other users that are not in the chat room. If you set Status to Offline, you will leave the chat room.