/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.uccollaborationlib.impl;
import com.wilutions.com.*;
@SuppressWarnings("all")
@CoClass(guid="{4E140392-316B-9C1B-37E9-570F0CB14BA4}")
public class IAudioChannelImpl extends Dispatch implements com.wilutions.mslib.uccollaborationlib.IAudioChannel {
@DeclDISPID(1610743808) public com.wilutions.mslib.uccollaborationlib.ChannelType getType() throws ComException {
final Object obj = this._dispatchCall(1610743808,"Type", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.uccollaborationlib.ChannelType.valueOf((Integer)obj);
}
@DeclDISPID(1610743809) public com.wilutions.mslib.uccollaborationlib.ChannelState getState() throws ComException {
final Object obj = this._dispatchCall(1610743809,"State", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.uccollaborationlib.ChannelState.valueOf((Integer)obj);
}
@DeclDISPID(1610743810) public com.wilutions.mslib.uccollaborationlib.IModality getModality() throws ComException {
final Object obj = this._dispatchCall(1610743810,"Modality", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IModalityImpl.class);
}
@DeclDISPID(1610743811) public Boolean getIsContributing() throws ComException {
final Object obj = this._dispatchCall(1610743811,"IsContributing", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(1610743812) public com.wilutions.mslib.uccollaborationlib.IAsynchronousOperation Start(final Object _mediaChannelCallback, final Object _state) throws ComException {
assert(_mediaChannelCallback != null);
assert(_state != null);
final Object obj = this._dispatchCall(1610743812,"Start", DISPATCH_METHOD,null,_mediaChannelCallback,_state);
if (obj == null) return null;
return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IAsynchronousOperationImpl.class);
}
@DeclDISPID(1610743813) public com.wilutions.mslib.uccollaborationlib.IAsynchronousOperation Stop(final Object _mediaChannelCallback, final Object _state) throws ComException {
assert(_mediaChannelCallback != null);
assert(_state != null);
final Object obj = this._dispatchCall(1610743813,"Stop", DISPATCH_METHOD,null,_mediaChannelCallback,_state);
if (obj == null) return null;
return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IAsynchronousOperationImpl.class);
}
@DeclDISPID(1610743814) public Boolean CanInvoke(final com.wilutions.mslib.uccollaborationlib.ChannelAction _action) throws ComException {
assert(_action != null);
final Object obj = this._dispatchCall(1610743814,"CanInvoke", DISPATCH_METHOD,null,_action.value);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(1610809344) public com.wilutions.mslib.uccollaborationlib.IAsynchronousOperation SendDtmf(final String _tones, final Object _modalityCallback, final Object _state) throws ComException {
assert(_tones != null);
assert(_modalityCallback != null);
assert(_state != null);
final Object obj = this._dispatchCall(1610809344,"SendDtmf", DISPATCH_METHOD,null,_tones,_modalityCallback,_state);
if (obj == null) return null;
return Dispatch.as(obj, com.wilutions.mslib.uccollaborationlib.impl.IAsynchronousOperationImpl.class);
}
public IAudioChannelImpl(String progId) throws ComException {
super(progId, "{8E839AF9-9508-475A-AA47-3EE8A946B75E}");
}
protected IAudioChannelImpl(long ndisp) {
super(ndisp);
}
public String toString() {
return "[IAudioChannelImpl" + super.toString() + "]";
}
}