Back to product page

ChatRoomData callback method


Called when chat room settings are received.

Syntax

  • Basic
object.ChatRoomData (Owner, Room)
The ChatRoomData(object,Owner,Room) syntax has these parts:
objectAn expression evaluating to an object of type IwodXMPPNotify
OwnerAn expression evaluating to an object of type wodXMPP
RoomA XMPPChatRoom object.

Remarks

This method is called only if you implemented IwodXMPPNotify interface in your application, and wodXMPP.Notification property has received reference to instance of your implementation.

Called as a result of GetSettings method call, to obtain possible settings for the chatroom - when you have sufficient privileges to do so. Usually you will change room settings in this notification method, and send them back using SaveSettings method.

You can use code like this (VB example):
 
Private Sub Command2_Click()
 Room.GetSettings
End Sub
Private Sub wodXMPP1_ChatRoomData(ByVal Room As WODXMPPCOMLib.IXMPPChatRoom)
 If Room.Settings.Show("Chatroom details:", Me.hWnd) Then
   Room.SaveSettings
 End If
End Sub
 


Platforms

Windows