WangyiQiyu class

Constructors

WangyiQiyu()
factory
WangyiQiyu.private(MethodChannel _methodChannel, EventChannel _eventChannel)

Properties

appKey Future<String>
get app key
read-only
onReceiveMessage Stream
listen receive message
read-only
onSessionListChanged Stream
listen session list changed
read-only
onUnreadCountChanged Stream
listen unread message count changed
read-only
platformVersion Future<String>
get platformVersion
read-only
qiyuLogPath Future<String>
get qiyu log path
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cleanResourceCacheCallback() Future
clean resource cache callback
clearUnreadCount() Future
clear unread message count
getPushMessage(Map<String, dynamic> param) Future
get push message
getSessionList() Future
get chat session list
getUnreadCount() Future<int>
get unread message count
logout() Future
logout qiyu
onBotClickCallback() Stream
listen bot click
onBotCustomInfoCallback() Stream
listen bot custom info
onButtonClickCallback() Stream
listen button click
onPushMessageClickCallback() Stream
listen push message click
onQuitWaitingCallback() Stream
listen quit waiting
onURLClickCallback() Stream
listen url click
openServiceWindow(Map<String, dynamic> param) Future
open qiyu service view
register(String appKey, String appName) Future
register qiyu
registerPushMessageNotificationCallback() Future
register push message notification callback
restoreCustomUIConfigToDefault() Future
restore custom config to default
sendCommodityInfo(Map<String, dynamic> param) Future
send commodityInfo in service view
sendSelectedCommodityInfo(Map<String, dynamic> param) Future
send selected commodityInfo in service view
setAuthToken(Map<String, dynamic> param) Future
set auth token
setCustomUIConfig(Map<String, dynamic> param) Future
set custom config in service view
setDeactivateAudioSessionAfterComplete(Map<String, dynamic> param) Future
set deactivate audio session
setUserInfo(Map<String, dynamic> param) Future
set user info
setUserInfoWithVerificationResultCallback(Map param) Future
set user info with verification result callback
trackHistory(Map<String, dynamic> param) Future
track user history
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited