/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.uccollaborationlib; import com.wilutions.com.*; /** * Room. * Room class defines a room. */ @CoClass(guid="{4FAC92C8-E226-44B6-A530-AED7AEB4CEF4}") public class Room extends Dispatch implements IRoom { static boolean __typelib__loaded = __TypeLib.load(); @DeclDISPID(1610743808) public IRoomUser[] getParticipants() throws ComException { final Object obj = this._dispatchCall(1610743808,"Participants", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (IRoomUser[])obj; } @DeclDISPID(1610743809) public RoomJoinState getJoinedState() throws ComException { final Object obj = this._dispatchCall(1610743809,"JoinedState", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return RoomJoinState.valueOf((Integer)obj); } @DeclDISPID(1610743810) public Integer getUnreadRoomMessageCount() throws ComException { final Object obj = this._dispatchCall(1610743810,"UnreadRoomMessageCount", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (Integer)obj; } @DeclDISPID(1610743811) public Boolean getIsOutgoingMessageFilterEnabled() throws ComException { final Object obj = this._dispatchCall(1610743811,"IsOutgoingMessageFilterEnabled", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return (Boolean)obj; } @DeclDISPID(1610743812) public IRoomPropertyDictionary getProperties() throws ComException { final Object obj = this._dispatchCall(1610743812,"Properties", DISPATCH_PROPERTYGET,null); if (obj == null) return null; return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IRoomPropertyDictionaryImpl.class); } @DeclDISPID(1610743813) public IRoomMessageDictionary CreateRoomMessageDictionary() throws ComException { final Object obj = this._dispatchCall(1610743813,"CreateRoomMessageDictionary", DISPATCH_METHOD,null); if (obj == null) return null; return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IRoomMessageDictionaryImpl.class); } @DeclDISPID(1610743814) public void EnableOutgoingMessageFilter(final Boolean _noWarning) throws ComException { assert(_noWarning != null); this._dispatchCall(1610743814,"EnableOutgoingMessageFilter", DISPATCH_METHOD,null,_noWarning); } @DeclDISPID(1610743815) public void DisableOutgoingMessageFilter() throws ComException { this._dispatchCall(1610743815,"DisableOutgoingMessageFilter", DISPATCH_METHOD,null); } @DeclDISPID(1610743816) public IAsynchronousOperation SendMessage(final IRoomMessageDictionary _messageInfo, final Object _roomCallback, final Object _state) throws ComException { assert(_roomCallback != null); assert(_state != null); final Object obj = this._dispatchCall(1610743816,"SendMessage", DISPATCH_METHOD,null,(_messageInfo!=null?_messageInfo:Dispatch.NULL),_roomCallback,_state); if (obj == null) return null; return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IAsynchronousOperationImpl.class); } @DeclDISPID(1610743817) public void SendFilteredMessage(final IRoomMessage _message, final RoomMessageFilteringAction _action) throws ComException { assert(_action != null); this._dispatchCall(1610743817,"SendFilteredMessage", DISPATCH_METHOD,null,(_message!=null?_message:Dispatch.NULL),_action.value); } @DeclDISPID(1610743818) public IAsynchronousOperation RetrieveAdditionalMessages(final Integer _lastMessageID, final Integer _count, final Object _roomCallback, final Object _state) throws ComException { assert(_lastMessageID != null); assert(_count != null); assert(_roomCallback != null); assert(_state != null); final Object obj = this._dispatchCall(1610743818,"RetrieveAdditionalMessages", DISPATCH_METHOD,null,_lastMessageID,_count,_roomCallback,_state); if (obj == null) return null; return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IAsynchronousOperationImpl.class); } @DeclDISPID(1610743819) public IAsynchronousOperation Join(final Object _roomCallback, final Object _state) throws ComException { assert(_roomCallback != null); assert(_state != null); final Object obj = this._dispatchCall(1610743819,"Join", DISPATCH_METHOD,null,_roomCallback,_state); if (obj == null) return null; return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IAsynchronousOperationImpl.class); } @DeclDISPID(1610743820) public IAsynchronousOperation Leave(final Object _roomCallback, final Object _state) throws ComException { assert(_roomCallback != null); assert(_state != null); final Object obj = this._dispatchCall(1610743820,"Leave", DISPATCH_METHOD,null,_roomCallback,_state); if (obj == null) return null; return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IAsynchronousOperationImpl.class); } public Room() throws ComException { super("{4FAC92C8-E226-44B6-A530-AED7AEB4CEF4}", "{A766520D-F700-4BF5-8428-56BD914C1C40}"); } protected Room(long ndisp) { super(ndisp); } public String toString() { return "[Room" + super.toString() + "]"; } }