MethodChannelFlutterSmartPtt class
- Inheritance
-
- Object
- PlatformInterface
- FlutterSmartPttPlatform
- MethodChannelFlutterSmartPtt
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodCallback ↔ Function?
-
回调函数(原生方法回调通知给库使用者)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addMonitorGroup(
int groupId) → void -
override
-
cancelLogin(
) → void -
override
-
disJoinUser(
List< int> userIdList) → void -
override
-
endPTT(
) → void -
override
-
enterGroup(
int groupId) → void -
override
-
enterNextGroup(
) → void -
override
-
enterPreGroup(
) → void -
override
-
forceUserExit(
List< int> userIdList) → void -
override
-
getGpsInterval(
) → Future< int> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getTranslation(
String key) → String -
获取翻译
override
-
init(
) → void -
初始化
override
-
initMethodChannel(
) → void - 初始化方法通道
-
inviteTmpGroup(
List< int> userIdList) → void -
override
-
leaveGroup(
) → void -
override
-
login(
String account, String password) → void -
override
-
logout(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onReady(
) → void -
override
-
playText(
String text, bool interrupt) → Future< void> -
播放文本
override
-
pullUsersToGroup(
List< int> userIdList) → void -
override
-
removeMonitorGroup(
int groupId) → void -
override
-
sendGroupMsg(
int groupId, String msg) → void -
override
-
sendUserMsg(
int userId, String msg) → void -
override
-
setAudioAdaptive(
int auto) → void -
override
-
setAudioFormat(
int type) → void -
override
-
setHeartbeatMode(
int mode) → void -
override
-
setHeartTime(
int second) → void -
override
-
setLocation(
String location) → Future< void> -
override
-
setLogType(
int type) → void -
override
-
setMethodCallback(
Function function) → void -
设置方法回调
override
-
setPttTimeLimit(
int second) → void -
override
-
setUrl(
String url) → void -
override
-
sos(
) → void -
override
-
startPTT(
) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited