PocChangeNotifier class
- Inheritance
-
- Object
- ChangeNotifier
- PocChangeNotifier
Constructors
Properties
- account → String
-
no setter
- activeGroupId → int
-
no setter
- activeGroupName → String
-
no setter
-
checkedUserIds
→ List<
int> -
no setter
- gpsInterval → int
-
no setter
- groups → List
-
no setter
- groupsMap ↔ Map
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- hideSpeaker → bool
-
no setter
- id → int
-
no setter
- isOnline → bool
-
no setter
- isPlaying → bool
-
no setter
- isRecording → bool
-
no setter
- lastVoiceEnterGroupId → int
-
no setter
- location → String
-
no setter
-
monitoredGroupIds
→ List<
int> -
no setter
- name → String
-
no setter
- offlineCode → int
-
no setter
- password → String
-
no setter
- privilege → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showGroupId → int
-
no setter
-
speakerIds
→ List<
int> -
no setter
- speakerName → String
-
no setter
- status → int
-
no setter
- usersMap ↔ Map
-
getter/setter pair
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
getGroup(
int groupId) → dynamic - 获取组
-
getUser(
int userId) → dynamic - 获取用户
-
hasTmpGroup(
) → bool - 是否又临时群组
-
init(
) → dynamic -
isTmpGroup(
int groupId) → bool -
isUserOnline(
int id) → bool - 判断用户是否在线
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
resetCheckedUserIds(
) → void - 重置选择的用户id集合
-
resetMonitoredGroupIds(
) → void -
setAccount(
String account) → void - 设置账号*
-
setActiveGroupId(
int activeGroupId) → void - 设置当前组id*
-
setCheckedUser(
int id, bool checked) → Future< void> - 设置选择的用户id
-
setGpsInterval(
int gpsInterval) → void -
setGroupMonitor(
int id, bool monitored) → Future< void> - 设置群组监听
-
setGroups(
List groups) → void - 设置群组*
-
setId(
int id) → void - 设置id*
-
setIsOnline(
bool isOnline) → void - 设置在线状态*
-
setIsPlaying(
bool isPlaying) → void - 设置播放状态*
-
setIsRecording(
bool isRecording) → void - 设置是否正在录音*
-
setLastVoiceEnterGroupId(
int lastVoiceEnterGroupId) → void -
setLocation(
String value) → void -
setName(
String name) → void - 设置名称
-
setOfflineCode(
int offlineCode) → void - 设置离线码*
-
setPassword(
String password) → void - 设置密码*
-
setPrivilege(
int privilege) → void - 设置权限*
-
setShowGroupId(
int showGroupId) → void - 设置当前显示群组id
-
setSpeaker(
List< int> idList, String name, bool hideTalker) → void - 设置讲话人信息*
-
setStatus(
int status) → void - 设置状态*
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCheckedUserIds(
) → void - 更新选择的用户id集合(用户可能变成不在线,则取消选择)
-
updateGroupsMap(
) → void -
updateShowGroupId(
) → void - 更新显示群组id(可能退出群组了,则重置显示群组id为0)
-
updateUsersMap(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited