AbstractSettingsRepository class abstract
Application settings repository interface.
- Implementers
Constructors
Properties
-
applicationSettings
→ Rx<
ApplicationSettings?> -
Returns the stored ApplicationSettings.
no setter
-
background
→ Rx<
Uint8List?> -
Returns the stored Uint8List of the background.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
mediaSettings
→ Rx<
MediaSettings?> -
Returns the stored MediaSettings.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCache(
) → Future< void> - Clears the stored settings.
-
getCallRect(
ChatId id) → Future< Rect?> - Returns the Rect preferences of an OngoingCall happening in the specified Chat.
-
init(
) → Future< void> - Initializes the applicationSettings and mediaSettings.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAudioDevice(
String id) → Future< void> - Sets the MediaSettings.audioDevice value.
-
setBackground(
Uint8List? bytes) → Future< void> - Sets the background value.
-
setCallButtons(
List< String> buttons) → Future<void> - Sets the ApplicationSettings.callButtons value.
-
setCallButtonsPosition(
CallButtonsPosition position) → Future< void> - Sets the ApplicationSettings.callButtonsPosition value.
-
setCallRect(
ChatId chatId, Rect prefs) → Future< void> - Sets the provided Rect preferences of an OngoingCall happening in the specified Chat.
-
setLocale(
String locale) → Future< void> - Sets the ApplicationSettings.locale value.
-
setMuteKeys(
List< String> ? keys) → Future<void> - Sets the ApplicationSettings.workWithUsTabEnabled value.
-
setOutputDevice(
String id) → Future< void> - Sets the MediaSettings.outputDevice value.
-
setPinnedActions(
List< String> buttons) → Future<void> - Sets the ApplicationSettings.pinnedActions value.
-
setPopupsEnabled(
bool enabled) → Future< void> - Sets the ApplicationSettings.enablePopups value.
-
setShowDragAndDropButtonsHint(
bool show) → Future< void> - Sets the ApplicationSettings.showDragAndDropButtonsHint value.
-
setShowDragAndDropVideosHint(
bool show) → Future< void> - Sets the ApplicationSettings.showDragAndDropVideosHint value.
-
setShowIntroduction(
bool show) → Future< void> - Sets the ApplicationSettings.showIntroduction value.
-
setSideBarWidth(
double width) → Future< void> - Sets the ApplicationSettings.sideBarWidth value.
-
setVideoDevice(
String id) → Future< void> - Sets the MediaSettings.videoDevice value.
-
setWorkWithUsTabEnabled(
bool enabled) → Future< void> - Sets the ApplicationSettings.workWithUsTabEnabled value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited