ConfigRepo class
Constructors
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 Properties
-
languageChangedNotifier
→ Stream<
String> -
no setter
Static Methods
-
getAudioPlayModel(
) → Future< int> -
getEnableAIStream(
) → Future< bool> - 获取是否打开AI流式输出
-
getEnableCloudConversation(
) → Future< bool> - 获取是否打开云端会话
-
getLanguage(
) → Future< String?> - 获取语言设置
-
getMixNotification(
) → Future< bool> -
getRingToggle(
) → Future< bool> -
getShowReadStatus(
) → Future< bool> -
getStatusBarNotificationConfig(
) → Future< NIMStatusBarNotificationConfig?> -
getTeamApplicationReadTime(
) → Future< int> - 获取群申请的已读回执时间
-
getVibrateToggle(
) → Future< bool> -
isPushShowNoDetail(
) → Future< bool> - 获取不展示详情
-
saveStatusBarNotificationConfig(
NIMStatusBarNotificationConfig config, {bool saveToNative = true}) → dynamic -
updateAudioPlayMode(
int mode) → Future< void> -
updateEnableAIStream(
bool enable) → void - 设置是否打开AI流式输出
-
updateEnableCloudConversations(
bool enable) → void - 设置是否打开云端会话
-
updateLanguage(
String language) → void - 更新语言设置
-
updateMessageNotification(
bool value) → dynamic -
updateMixNotification(
bool value, {bool? showDetail}) → Future< bool> -
updatePushShowNoDetail(
bool mode) → Future< bool> -
updateRingToggle(
bool mode) → void -
updateShowReadStatus(
bool show) → void -
updateTeamApplicationReadTime(
int time) → void - 更新群申请的已读回执时间
-
updateVibrateToggle(
bool mode) → void
Constants
- audioPlayEarpiece → const int
- audioPlayMode → const String
- audioPlayOutside → const int
- enableAIStream → const String
- enableCloudConversation → const String
- readStatus → const String
- ringToggle → const String
- statusConfig → const String
- teamApplicationReadTime → const String
- toggleNotification → const String
- uiLanguage → const String
- vibrateToggle → const String