MethodChannelFlutterSmartPtt class

An implementation of FlutterSmartPttPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smartPttCallback Function
回调函数
getter/setter pair

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
initMethodCallback() → 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
playText(String text, bool interrupt) → 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
setPttTimeLimit(int second) → void
override
setUrl(String url) → void
override
smartPttMethodCall(Function function) → 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

Static Properties

tag String
getter/setter pair