TiPhone class

Constructors

TiPhone()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

call(String phoneNumber, String obClid, String requestUniqueId, HashMap<String, String> userField) → void
changePwd(String oldPassword, String newPassword, TBaseCallback tBaseCallback) → void
confirmVerificationCode(String code, TBaseCallback tBaseCallback) → void
getAgentSettings(TBaseCallback tBaseCallback) → void
getAgentStatus(TBaseCallback tBaseCallback) → void
getVersion() Future<String?>
hangup() → void
init(String apiUrl, bool isDebug) → void
isSpeakerphoneEnabled() Future<bool>
loginTiPhone(TLoginOption tLoginOption, TBaseCallback tBaseCallback, TLoginMessageListener tLoginMessageListener) → void
logoutTiPhone(TBaseCallback tBaseCallback) → void
previewOutCall(String phoneNumber, String obClid, TBaseCallback tBaseCallback) → void
sendDTMF(String tones, int duration, int interToneGap) → void
setAgentPause(String description, TBaseCallback tBaseCallback) → void
setAgentUnPause(TBaseCallback tBaseCallback) → void
setEnableSpeakerphone(bool enabled) → void
setIncomingMessageListener(TIncomingMessageListener incomingMessageListener) → void
setMicrophoneMute(bool muted) → void
setOnEventListener(TOnEventListener eventListener) → void
setTelExplicit(bool isTelExplicit) → void
transferCall(String requestUniqueId, TBaseCallback tBaseCallback) → void